os::Variant Class Reference

List of all members.

Public Member Functions

 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 (const Color32 &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 SetColor32 (const Color32 &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
Color32 AsColor32 () const
void * AsPointer () const
void * AsRaw (size_t *pnSize)
Variantoperator= (int8 nValue)
Variantoperator= (int16 nValue)
Variantoperator= (int32 nValue)
Variantoperator= (int64 nValue)
Variantoperator= (float vValue)
Variantoperator= (double vValue)
Variantoperator= (bool bValue)
Variantoperator= (const String &cValue)
Variantoperator= (const Point &cValue)
Variantoperator= (const IPoint &cValue)
Variantoperator= (const Rect &cValue)
Variantoperator= (const IRect &cValue)
Variantoperator= (const Color32 &cValue)
Variantoperator= (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
 operator Color32 () 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)

Constructor & Destructor Documentation

Variant::Variant (  ) 

Variant::Variant ( int  nValue  ) 

Variant::Variant ( int64  nValue  ) 

Variant::Variant ( float  vValue  ) 

Variant::Variant ( double  vValue  ) 

Variant::Variant ( bool  bValue  ) 

Variant::Variant ( const String cString  ) 

Variant::Variant ( const Point cValue  ) 

Variant::Variant ( const IPoint cValue  ) 

Variant::Variant ( const Rect cValue  ) 

Variant::Variant ( const IRect cValue  ) 

Variant::Variant ( const Message cValue  ) 

Variant::Variant ( const Color32 cValue  ) 

Variant::Variant ( void *  pValue  ) 

Variant::Variant ( void *  pData,
int  nSize 
)

Variant::Variant ( const Variant cOther  ) 

Variant::~Variant (  ) 


Member Function Documentation

void Variant::SetInt8 ( int8  nValue  ) 

void Variant::SetInt16 ( int16  nValue  ) 

void Variant::SetInt32 ( int32  nValue  ) 

void Variant::SetInt64 ( int64  nValue  ) 

void Variant::SetFloat ( float  vValue  ) 

void Variant::SetDouble ( double  vValue  ) 

void Variant::SetBool ( bool  bValue  ) 

void Variant::SetString ( const String cValue  ) 

void Variant::SetPoint ( const Point cValue  ) 

void Variant::SetIPoint ( const IPoint cValue  ) 

void Variant::SetRect ( const Rect cValue  ) 

void Variant::SetIRect ( const IRect cValue  ) 

void Variant::SetColor32 ( const Color32 cValue  ) 

void Variant::SetPointer ( void *  pValue  ) 

void Variant::SetRaw ( const void *  pData,
int  nSize 
)

int8 Variant::AsInt8 (  )  const

int16 Variant::AsInt16 (  )  const

int32 Variant::AsInt32 (  )  const

int64 Variant::AsInt64 (  )  const

float Variant::AsFloat (  )  const

double Variant::AsDouble (  )  const

bool Variant::AsBool (  )  const

String Variant::AsString (  )  const

Point Variant::AsPoint (  )  const

IPoint Variant::AsIPoint (  )  const

Rect Variant::AsRect (  )  const

IRect Variant::AsIRect (  )  const

Color32 Variant::AsColor32 (  )  const

void * Variant::AsPointer (  )  const

void * Variant::AsRaw ( size_t *  pnSize  ) 

Variant & Variant::operator= ( int8  nValue  ) 

Variant & Variant::operator= ( int16  nValue  ) 

Variant & Variant::operator= ( int32  nValue  ) 

Variant & Variant::operator= ( int64  nValue  ) 

Variant & Variant::operator= ( float  vValue  ) 

Variant & Variant::operator= ( double  vValue  ) 

Variant & Variant::operator= ( bool  bValue  ) 

Variant & Variant::operator= ( const String cValue  ) 

Variant & Variant::operator= ( const Point cValue  ) 

Variant & Variant::operator= ( const IPoint cValue  ) 

Variant & Variant::operator= ( const Rect cValue  ) 

Variant & Variant::operator= ( const IRect cValue  ) 

Variant & Variant::operator= ( const Color32 cValue  ) 

Variant & Variant::operator= ( const Variant cValue  ) 

Variant::operator int (  )  const

Variant::operator int64 (  )  const

Variant::operator float (  )  const

Variant::operator double (  )  const

Variant::operator bool (  )  const

Variant::operator String (  )  const

Variant::operator Point (  )  const

Variant::operator IPoint (  )  const

Variant::operator Rect (  )  const

Variant::operator IRect (  )  const

Variant::operator Color32 (  )  const

bool Variant::operator== ( const Variant cValue  )  const

bool Variant::operator!= ( const Variant cValue  )  const

size_t Variant::GetFlattenedSize (  )  const

status_t Variant::Flatten ( void *  pBuffer,
size_t  nBufSize 
) const

status_t Variant::Unflatten ( const void *  pBuffer,
size_t  nBufSize 
)


Generated on Sat May 9 22:51:20 2009 for Syllable higlevel API by  doxygen 1.5.1