Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

os::Variant Class Reference

#include <variant.h>

List of all members.

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)


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 Color32_s cValue
 

Variant::Variant void * pValue
 

Variant::Variant void * pData,
int nSize
 

Variant::Variant const Variant & cOther
 

Variant::~Variant
 


Member Function Documentation

bool Variant::AsBool const
 

double Variant::AsDouble const
 

float Variant::AsFloat const
 

IPoint Variant::AsIPoint const
 

IRect Variant::AsIRect const
 

int16 Variant::AsInt16 const
 

int32 Variant::AsInt32 const
 

int64 Variant::AsInt64 const
 

int8 Variant::AsInt8 const
 

Point Variant::AsPoint const
 

void * Variant::AsPointer const
 

void * Variant::AsRaw size_t * pnSize
 

Rect Variant::AsRect const
 

String Variant::AsString const
 

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

size_t Variant::GetFlattenedSize void const
 

void Variant::SetBool bool bValue
 

void Variant::SetDouble double vValue
 

void Variant::SetFloat float vValue
 

void Variant::SetIPoint const IPoint & cValue
 

void Variant::SetIRect const IRect & cValue
 

void Variant::SetInt16 int16 nValue
 

void Variant::SetInt32 int32 nValue
 

void Variant::SetInt64 int64 nValue
 

void Variant::SetInt8 int8 nValue
 

void Variant::SetPoint const Point & cValue
 

void Variant::SetPointer void * pValue
 

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

void Variant::SetRect const Rect & cValue
 

void Variant::SetString const String & cValue
 

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

Variant::operator IPoint const
 

Variant::operator IRect const
 

Variant::operator Point const
 

Variant::operator Rect const
 

Variant::operator String const
 

Variant::operator bool const
 

Variant::operator double const
 

Variant::operator float const
 

Variant::operator int const
 

Variant::operator int64 const
 

bool Variant::operator!= const Variant & cValue const
 

Variant & Variant::operator= const Variant & cOther
 

Variant & Variant::operator= const IRect & cValue
 

Variant & Variant::operator= const Rect & cValue
 

Variant & Variant::operator= const IPoint & cValue
 

Variant & Variant::operator= const Point & cValue
 

Variant & Variant::operator= const String & cValue
 

Variant & Variant::operator= bool bValue
 

Variant & Variant::operator= double vValue
 

Variant & Variant::operator= float vValue
 

Variant & Variant::operator= int64 nValue
 

Variant & Variant::operator= int32 nValue
 

Variant & Variant::operator= int16 nValue
 

Variant & Variant::operator= int8 nValue
 

bool Variant::operator== const Variant & cOther const
 


Member Data Documentation

bool os::Variant::bBool
 

int32 os::Variant::nInt32
 

int64 os::Variant::nInt64
 

size_t os::Variant::nSize
 

void* os::Variant::pBuffer
 

void* os::Variant::pData
 

char* os::Variant::pzString
 

struct { ... } os::Variant::sBuffer
 

double os::Variant::vDouble
 

float os::Variant::vFloat
 


Generated at Tue Sep 11 15:27:56 2001 for AtheOS higlevel API by doxygen1.2.9.1 written by Dimitri van Heesch, © 1997-2001