#include <variant.h>
Public Methods | |
Variant () | |
Variant (int nValue) | |
Variant (int64 nValue) | |
Variant (float vValue) | |
Variant (double vValue) | |
Variant (bool bValue) | |
Variant (const String &cString) | |
Variant (const Point &cValue) | |
Variant (const IPoint &cValue) | |
Variant (const Rect &cValue) | |
Variant (const IRect &cValue) | |
Variant (const Message &cValue) | |
Variant (Color32_s cValue) | |
Variant (void *pValue) | |
Variant (void *pData, int nSize) | |
Variant (const Variant &cOther) | |
~Variant () | |
void | SetInt8 (int8 nValue) |
void | SetInt16 (int16 nValue) |
void | SetInt32 (int32 nValue) |
void | SetInt64 (int64 nValue) |
void | SetFloat (float vValue) |
void | SetDouble (double vValue) |
void | SetBool (bool bValue) |
void | SetString (const String &cValue) |
void | SetPoint (const Point &cValue) |
void | SetIPoint (const IPoint &cValue) |
void | SetRect (const Rect &cValue) |
void | SetIRect (const IRect &cValue) |
void | SetPointer (void *pValue) |
void | SetRaw (const void *pData, int nSize) |
int8 | AsInt8 () const |
int16 | AsInt16 () const |
int32 | AsInt32 () const |
int64 | AsInt64 () const |
float | AsFloat () const |
double | AsDouble () const |
bool | AsBool () const |
String | AsString () const |
Point | AsPoint () const |
IPoint | AsIPoint () const |
Rect | AsRect () const |
IRect | AsIRect () const |
void * | AsPointer () const |
void * | AsRaw (size_t *pnSize) |
Variant & | operator= (int8 nValue) |
Variant & | operator= (int16 nValue) |
Variant & | operator= (int32 nValue) |
Variant & | operator= (int64 nValue) |
Variant & | operator= (float vValue) |
Variant & | operator= (double vValue) |
Variant & | operator= (bool bValue) |
Variant & | operator= (const String &cValue) |
Variant & | operator= (const Point &cValue) |
Variant & | operator= (const IPoint &cValue) |
Variant & | operator= (const Rect &cValue) |
Variant & | operator= (const IRect &cValue) |
Variant & | operator= (const Variant &cValue) |
operator int () const | |
operator int64 () const | |
operator float () const | |
operator double () const | |
operator bool () const | |
operator String () const | |
operator Point () const | |
operator IPoint () const | |
operator Rect () const | |
operator IRect () const | |
bool | operator== (const Variant &cValue) const |
bool | operator!= (const Variant &cValue) const |
size_t | GetFlattenedSize () const |
status_t | Flatten (void *pBuffer, size_t nBufSize) const |
status_t | Unflatten (const void *pBuffer, size_t nBufSize) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|