PropertyValue variant class.
More...
#include <configuration.h>
|
| PropertyValue ()=default |
| CTOR.
|
|
| PropertyValue (const PropertyValue &)=default |
| copy CTOR
|
|
| PropertyValue (PropertyValue &&)=default |
| move CTOR
|
|
PropertyValue & | operator= (const PropertyValue &)=default |
| copy assignment More...
|
|
PropertyValue & | operator= (PropertyValue &&)=default |
| move assignment More...
|
|
| PropertyValue (std::string value, std::string type) |
| CTOR. More...
|
|
template<typename T , std::enable_if_t< std::is_unsigned< T >::value &&!std::is_same< T, bool >::value, bool > = true> |
| PropertyValue (T value) |
| CTOR for unsigned integer value (uint8-uint64) and "unsigned" type. More...
|
|
template<typename T , std::enable_if_t< std::is_integral< T >::value &&std::is_signed< T >::value, bool > = true> |
| PropertyValue (T value) |
| CTOR for signed integer value (int8-int64) and "signed" type. More...
|
|
template<typename T , std::enable_if_t< std::is_floating_point< T >::value, bool > = true> |
| PropertyValue (T value) |
| CTOR for double or float value and "float" type. More...
|
|
template<typename T , std::enable_if_t< std::is_same< T, bool >::value, bool > = true> |
| PropertyValue (T value) |
| CTOR for bool value and "bool" type. More...
|
|
| PropertyValue (std::string_view string_value) |
| CTOR for string value and "string" type. More...
|
|
|
std::string | value |
| Value as string.
|
|
std::string | type |
| Type as string.
|
|
PropertyValue variant class.
◆ PropertyValue() [1/6]
adtf_file::PropertyValue::PropertyValue |
( |
std::string |
value, |
|
|
std::string |
type |
|
) |
| |
|
inline |
CTOR.
- Parameters
-
value | The value as string |
type | The type as string. |
◆ PropertyValue() [2/6]
template<typename T , std::enable_if_t< std::is_unsigned< T >::value &&!std::is_same< T, bool >::value, bool > = true>
adtf_file::PropertyValue::PropertyValue |
( |
T |
value | ) |
|
|
inline |
CTOR for unsigned integer value (uint8-uint64) and "unsigned" type.
- Parameters
-
◆ PropertyValue() [3/6]
template<typename T , std::enable_if_t< std::is_integral< T >::value &&std::is_signed< T >::value, bool > = true>
adtf_file::PropertyValue::PropertyValue |
( |
T |
value | ) |
|
|
inline |
CTOR for signed integer value (int8-int64) and "signed" type.
- Parameters
-
◆ PropertyValue() [4/6]
template<typename T , std::enable_if_t< std::is_floating_point< T >::value, bool > = true>
adtf_file::PropertyValue::PropertyValue |
( |
T |
value | ) |
|
|
inline |
CTOR for double or float value and "float" type.
- Parameters
-
◆ PropertyValue() [5/6]
template<typename T , std::enable_if_t< std::is_same< T, bool >::value, bool > = true>
adtf_file::PropertyValue::PropertyValue |
( |
T |
value | ) |
|
|
inline |
CTOR for bool value and "bool" type.
- Parameters
-
◆ PropertyValue() [6/6]
adtf_file::PropertyValue::PropertyValue |
( |
std::string_view |
string_value | ) |
|
|
inline |
CTOR for string value and "string" type.
- Parameters
-
string_value | The value to set |
◆ operator=() [1/2]
◆ operator=() [2/2]
The documentation for this struct was generated from the following file: