◆ BaseVariant() [1/2]
sptk::BaseVariant::BaseVariant |
( |
const BaseVariant & |
other | ) |
|
|
default |
Copy constructor.
- Parameters
-
◆ BaseVariant() [2/2]
Move constructor.
- Parameters
-
◆ bufferSize()
size_t sptk::BaseVariant::bufferSize |
( |
| ) |
const |
Returns the allocated buffer size
◆ dataSize() [1/2]
size_t sptk::BaseVariant::dataSize |
( |
| ) |
const |
◆ dataSize() [2/2]
void sptk::BaseVariant::dataSize |
( |
size_t |
newDataSize | ) |
|
Sets the data size
- Parameters
-
newDataSize | Data size (in bytes). |
◆ dataType() [1/3]
◆ dataType() [2/3]
◆ dataType() [3/3]
void sptk::BaseVariant::dataType |
( |
VariantType |
newDataType | ) |
|
|
protected |
◆ get() [1/2]
template<typename T >
T & sptk::BaseVariant::get |
( |
| ) |
|
|
inline |
Direct and fast access to variant data.
- Template Parameters
-
- Returns
- refernce to variant data
◆ get() [2/2]
template<typename T >
const T & sptk::BaseVariant::get |
( |
| ) |
const |
|
inline |
Direct and fast const access to variant data.
- Template Parameters
-
- Returns
- const refernce to variant data
◆ getExternalBuffer()
virtual const uint8_t * sptk::BaseVariant::getExternalBuffer |
( |
| ) |
const |
|
virtual |
Directly reads the internal data
◆ getImageNdx()
virtual uint32_t sptk::BaseVariant::getImageNdx |
( |
| ) |
const |
|
virtual |
Directly reads the internal data
◆ getImagePtr()
virtual const uint8_t * sptk::BaseVariant::getImagePtr |
( |
| ) |
const |
|
virtual |
Directly reads the internal data
◆ getMoney()
virtual const MoneyData & sptk::BaseVariant::getMoney |
( |
| ) |
const |
|
virtual |
Directly reads the internal data
◆ getString()
virtual const char * sptk::BaseVariant::getString |
( |
| ) |
const |
|
virtual |
Directly reads the internal data
◆ getText()
virtual const char * sptk::BaseVariant::getText |
( |
| ) |
const |
|
virtual |
Directly reads the internal data
◆ isExternalBuffer()
bool sptk::BaseVariant::isExternalBuffer |
( |
| ) |
const |
|
inlineprotected |
- Returns
- True if current data type is external buffer
◆ isNull()
bool sptk::BaseVariant::isNull |
( |
| ) |
const |
Null flag
Returns true if the NULL state is set
◆ moneyDataToString()
virtual String sptk::BaseVariant::moneyDataToString |
( |
| ) |
const |
|
protectedvirtual |
Return money data as string
- Returns
◆ nameType()
Returns a type for a particular variant type name
- Parameters
-
◆ typeName()
Returns a name for a particular variant type
- Parameters
-
The documentation for this class was generated from the following file: