17 #if defined(_NO_EXCEPTION) 58 MSI_UNSIGNED_INTEGER = 2,
73 #ifndef NO_WCHAR_SUPPORT 91 Variant& operator = (
short iSval);
94 Variant& operator = (
float iFval);
95 Variant& operator = (
double iDval);
96 Variant& operator = (const
char* iStval);
97 #ifndef NO_WCHAR_SUPPORT 98 Variant& operator = (
const wchar_t* iStval);
107 void SetDate(
const DateTime& irDateTime);
113 operator short()
const;
115 operator Int32()
const;
117 operator unsigned Int32()
const;
119 operator float()
const;
121 operator double()
const;
136 const Binary* ToBinary()
const;
138 DATA_TYPE GetVarType()
const;
142 bool IsTypeComparable(
const Variant& irVariant)
const;
152 #ifndef NO_WCHAR_SUPPORT 168 #ifndef NO_WCHAR_SUPPORT 176 unsigned Int32 GetWStringLength()
const;
181 void ToWString(
wchar_t* opcBuffer,
unsigned Int32 inBufferLen)
const;
191 unsigned Int32 GetStringLength()
const;
196 void ToString(
char* opcBuffer,
unsigned Int32 inBufferLen)
const;
198 void swap(
Variant& irOther)
throw ();
207 void Reset() throw();
208 void TakeValue(
Variant& irOther) throw ();
210 inline
void CheckMemoryAvailability(
unsigned Int64 iRequestSize)
212 if ( ! mpMemContract.IsNull() && mpMemContract->Alloc64(iRequestSize) !=
MCM_OK )
214 #if !defined(_NO_EXCEPTION) 215 throw (
"Not enough memory left.");
217 printf(
"%s\n",
"Not enough memory left.");
Definition: BaseMemoryContract.h:40
bool operator<(const ::GUID &irGUID1, const ::GUID &irGUID2)
Definition: Base/Base/GUID.h:156
void * mpReserved
Definition: Variant.h:239
MDataType::Binary represents binary data.
Definition: Binary.h:33
Definition: ReturnString.h:36
bool operator==(const Allocator< _Ty > &left, const Allocator< _UT > &right)
Definition: Allocator.h:204
float mFval
Definition: Variant.h:232
#define Int64
Definition: BasicTypes.h:36
MBase::String * mpStval
Definition: Variant.h:236
#define DLL_DATATYPE_EXIM
Definition: DataType.h:22
Definition: ReturnString.h:85
Definition: BigDecimal.h:18
short mSval
Definition: Variant.h:228
Binary * mpBinary
Definition: Variant.h:237
BigDecimal * mpBdval
Definition: Variant.h:235
Int32 mIval
Definition: Variant.h:229
#define Int32
Definition: BasicTypes.h:20
DATA_TYPE
Definition: Variant.h:42
unsigned Int32 mUIval
Definition: Variant.h:230
Definition: BigDecimal.h:27
DLL_BASE_EXIM const char * ToString(MBase::MessageDomain iDomain)
std::basic_string< WCHAR, std::char_traits< WCHAR >, Allocator< WCHAR > > String
Definition: BaseString.h:26
#define MCM_OK
Definition: BaseMemoryContract.h:16
Definition: CellFmtData.h:76
CellFmtData * mpCellFmtData
Definition: Variant.h:238
Int32 mLval
Definition: Variant.h:231
Definition: DateTime.h:74
#define NULL
Definition: Null.h:10
double mDval
Definition: Variant.h:233
DateTime * mpDtval
Definition: Variant.h:234