IVariant Class Reference
[Types]

The purpose of this class is to allow JsObject to be a variant type, and to allow Variant to be the JsObject's property type. More...

#include <IVariant.h>

Inheritance diagram for IVariant:
IConvertable IComparable IMemoryValidate IHashable Variant

List of all members.

Public Member Functions

virtual bool ToBool () const =0
virtual byte ToByte () const =0
virtual int16 ToInt16 () const =0
virtual int32 ToInt32 () const =0
virtual int64 ToInt64 () const =0
virtual float32 ToFloat32 () const =0
virtual float64 ToFloat64 () const =0
virtual DateTime ToDateTime () const =0
virtual Date ToDate () const =0
virtual Decimal ToDecimal () const =0
virtual StringPtr ToString () const =0
virtual bool ToChar (char &c2) const =0
virtual bool ToBool (bool &c2) const =0
virtual bool ToByte (byte &c2) const =0
virtual bool ToInt16 (int16 &c2) const =0
virtual bool ToInt32 (int32 &c2) const =0
virtual bool ToInt64 (int64 &c2) const =0
virtual bool ToUInt32 (uint32 &c2) const =0
virtual bool ToUInt64 (uint64 &c2) const =0
virtual bool ToFloat32 (float32 &c2) const =0
virtual bool ToFloat64 (float64 &c2) const =0
virtual bool ToDateTime (DateTime &c2) const =0
virtual bool ToDate (Date &c2) const =0
virtual bool ToDecimal (Decimal &c2) const =0
virtual bool ToString (String &c2) const =0
virtual bool Equals (const IComparable &a) const =0
virtual int Compare (const IComparable &a) const =0
virtual int32 MajicNumber () const =0
 Class instances with the same majic number are of the same type (can be casted). Majic numbers above 0xFFFF are available for user applications.
virtual int32 HashCode () const =0
virtual bool IsObject () const =0
virtual String TypeName () const =0
virtual void ValidateMem () const =0
virtual void CheckMem () const =0

Detailed Description

The purpose of this class is to allow JsObject to be a variant type, and to allow Variant to be the JsObject's property type.

Definition at line 40 of file IVariant.h.


The documentation for this class was generated from the following files: