Property class representing a pair of value and its type.
More...
#include <mapper_interfaces.h>
|
|
| Property ()=default |
| | CTOR.
|
| |
|
| Property (const Property &)=default |
| | copy CTOR
|
| |
|
| Property (Property &&)=default |
| | move CTOR
|
| |
| Property & | operator= (const Property &)=default |
| | copy assignment
|
| |
| Property & | operator= (Property &&)=default |
| | move assignment
|
| |
| | Property (std::string value, std::string type) |
| | CTOR.
|
| |
| template<typename T, std::enable_if_t< std::is_unsigned< T >::value &&!std::is_same< T, bool >::value, bool > = true> |
| | Property (T value) |
| | CTOR for unsigned integer value (uint8-uint64) and "unsigned" type.
|
| |
| template<typename T, std::enable_if_t< std::is_integral< T >::value &&std::is_signed< T >::value, bool > = true> |
| | Property (T value) |
| | CTOR for signed integer value (int8-int64) and "signed" type.
|
| |
| template<typename T, std::enable_if_t< std::is_floating_point< T >::value, bool > = true> |
| | Property (T value) |
| | CTOR for double or float value and "float" type.
|
| |
| template<typename T, std::enable_if_t< std::is_same< T, bool >::value, bool > = true> |
| | Property (T value) |
| | CTOR for bool value and "bool" type.
|
| |
| | Property (std::string_view string_value) |
| | CTOR for string value and "string" type.
|
| |
| const std::string & | getValue () const |
| | Get the value as string.
|
| |
| const std::string & | getType () const |
| | Get the value type as string.
|
| |
Property class representing a pair of value and its type.
◆ Property() [1/6]
| ddl::mapping::Property::Property |
( |
std::string | value, |
|
|
std::string | type ) |
|
inline |
CTOR.
- Parameters
-
| value | The value as string |
| type | The type as string. |
◆ Property() [2/6]
template<typename T, std::enable_if_t< std::is_unsigned< T >::value &&!std::is_same< T, bool >::value, bool > = true>
| ddl::mapping::Property::Property |
( |
T | value | ) |
|
|
inline |
CTOR for unsigned integer value (uint8-uint64) and "unsigned" type.
- Parameters
-
◆ Property() [3/6]
template<typename T, std::enable_if_t< std::is_integral< T >::value &&std::is_signed< T >::value, bool > = true>
| ddl::mapping::Property::Property |
( |
T | value | ) |
|
|
inline |
CTOR for signed integer value (int8-int64) and "signed" type.
- Parameters
-
◆ Property() [4/6]
template<typename T, std::enable_if_t< std::is_floating_point< T >::value, bool > = true>
| ddl::mapping::Property::Property |
( |
T | value | ) |
|
|
inline |
CTOR for double or float value and "float" type.
- Parameters
-
◆ Property() [5/6]
template<typename T, std::enable_if_t< std::is_same< T, bool >::value, bool > = true>
| ddl::mapping::Property::Property |
( |
T | value | ) |
|
|
inline |
CTOR for bool value and "bool" type.
- Parameters
-
◆ Property() [6/6]
| ddl::mapping::Property::Property |
( |
std::string_view | string_value | ) |
|
|
inline |
CTOR for string value and "string" type.
- Parameters
-
| string_value | The value to set |
◆ getType()
| const std::string & ddl::mapping::Property::getType |
( |
| ) |
const |
|
inline |
Get the value type as string.
- Returns
- const std::string&
◆ getValue()
| const std::string & ddl::mapping::Property::getValue |
( |
| ) |
const |
|
inline |
Get the value as string.
- Returns
- const std::string&
◆ operator=() [1/2]
◆ operator=() [2/2]
The documentation for this class was generated from the following file:
- /workspace/conan/dev_essential/1.6.3/dw/stable/package/65324bff46e457721a7ba250afe9d61dc2b0e57a/include/ddl/mapping/mapper_interfaces.h