Class CSPVariant Description The generic variant class for the CSP framework.
| Member functions: Clear() CSPVariant(CSPVariant& varVariant) GetBinaryData(CSPBuffer& Data) GetBinaryDataSize() GetBool() GetChar() GetDate() GetDateTime() GetDouble() GetFloat() GetInt() GetInt64() GetLong() GetLongDouble() GetShort() GetString() GetTime() GetType() GetUChar() GetUInt() GetUInt64() GetULong() GetUShort() GetVarArray() GetWString() IsEmpty() IsNull() operator !=(const CSPVariant& varVariant) operator __int64() operator =(const CSPVariant& varVariant) operator ==(const CSPVariant& varVariant) operator bool() operator char() operator CSPDate() operator CSPDateTime() operator CSPString() operator CSPTime() operator CSPVarArray() operator CSPWString() operator double() operator float() operator int() operator long() operator long double() operator short() operator unsigned __int64() operator unsigned char() operator unsigned int() operator unsigned long() operator unsigned short() SetBinaryData(const CSPBuffer& Data) SetBool(bool bBoolVal) SetChar(char chCharVal) SetDate(const CSPDate& dDate) SetDateTime(const CSPDateTime& dtDateTime) SetDouble(double dblDoubleVal) SetFloat(float fFloatVal) SetInt(int iIntVal) SetInt64(__int64 i64IntVal) SetLong(long lLongVal) SetLongDouble(long double ldblLDoubleVal) SetNull() SetShort(short shShortVal) SetString(const CSPString& strString) SetTime(const CSPTime& tTime) SetUChar(unsigned char uchUCharVal) SetUInt(unsigned int uiUIntVal) SetUInt64(unsinged __int64 ui64UIntVal) SetULong(unsigned long ulULongVal) SetUShort(unsigned short ushUShort) SetVarArray(const CSPVariant& VarArray) SetVariant(const CSPVariant& varVariant) SetWString(const CSPWString& strWString) Remarks: This class supports the following datatypes, performing any possible conversion, if necessary:
Data type | Data type code
--- | ---
CSPString | CSPVariant::TYPE_STRING
CSPWString | CSPVariant::TYPE_WSTRING
CSPDate | CSPVariant::TYPE_DATE
CSPDateTime | CSPVariant::TYPE_DATETIME
CSPTime | CSPVariant::TYPE_TIME
CSPBuffer | CSPVariant::TYPE_BINARY
CSPVarArray | CSPVariant::TYPE_VAR_ARRAY
char | CSPVariant::TYPE_CHAR
unsigned char | CSPVariant::TYPE_UCHAR
short | CSPVariant::TYPE_SHORT
unsigned short | CSPVariant::TYPE_USHORT
int | CSPVariant::TYPE_INT
unsigned int | CSPVariant::TYPE_UINT
__int64 | CSPVariant::TYPE_INT64
unsigned __int64 | CSPVariant::TYPE_UINT64
long | CSPVariant::TYPE_LONG
unsigned long | CSPVariant::TYPE_ULONG
float | CSPVariant::TYPE_FLOAT
double | CSPVariant::TYPE_DOUBLE
long double | CSPVariant::TYPE_LDOUBLE
bool | CSPVariant::TYPE_BOOL
( Null ) | CSPVariant::TYPE_NULL
( Empty ) | CSPVariant::TYPE_EMPTY
See also: class CSPVarArray
Basic classes | Class Categories | Online help home | Back
www.micronovae.com Copyright © 2002 - 2004 Micronovae Ltd