|
using | Storage = std::variant< bool, int32_t, int64_t, double, const uint8_t *, const void *, DateTime, Buffer, MoneyData > |
|
◆ VariantData() [1/3]
sptk::VariantData::VariantData |
( |
| ) |
|
|
default |
◆ VariantData() [2/3]
sptk::VariantData::VariantData |
( |
const VariantData & |
other | ) |
|
|
default |
Copy constructor
- Parameters
-
◆ VariantData() [3/3]
Move constructor
- Parameters
-
◆ get() [1/2]
template<typename T >
T & sptk::VariantData::get |
( |
| ) |
|
|
inline |
Access to variant data.
- Returns
- variant data reference
◆ get() [2/2]
template<typename T >
const T & sptk::VariantData::get |
( |
| ) |
const |
|
inline |
Access to variant data.
- Returns
- variant data reference
◆ operator=() [1/2]
Copy assigment
- Parameters
-
◆ operator=() [2/2]
Move assignment
- Parameters
-
◆ set()
template<typename T >
void sptk::VariantData::set |
( |
const T & |
value | ) |
|
|
inline |
Set internal data
- Parameters
-
The documentation for this class was generated from the following file: