|
Unicorn XML Toolkit Version 1.00.00 |
|||||||||
� PREV CLASS �� NEXT CLASS | FRAMES��NO FRAMES | |||||||||
SUMMARY: � CONSTR �|� FUNCTION �|�DATA | DETAIL: � CONSTR �|� FUNCTION �|�DATA |
class CValue: public CInterface { public: enum { typeUndefined, typeNull, typeBoolean, typeString, typeNumber, typeObject, typeReference, typeList, typeCompletion }; public: CValue(); virtual ~CValue(); public: virtual int GetType(); virtual bool GetBoolean(); virtual CString GetString(); virtual CNumber GetNumber(); virtual XObject GetObject(); virtual CReference *GetReference(); virtual CList *GetList(); virtual CCompletion *GetCompletion(); };
The abstract interface to ECMAScript values.
CNumber, CObject, CReference, CList, CCompletion
Constructor/Destructor Summary | |
CValue
();
����������Constructs the value. |
|
~CValue
();
����������Destroys the value. |
Function Summary | |
int
|
GetType
();
����������Returns type of this value. |
bool
|
GetBoolean
();
����������Returns a boolean associated with this value. |
CString
|
GetString
();
����������Returns a string associated with this value. |
CNumber
|
GetNumber
();
����������Returns a number associated with the value. |
XObject
|
GetObject
();
����������Returns an object associated with this value. |
CReference�*
|
GetReference
();
����������Returns a reference associated with this value. |
CList�*
|
GetList
();
����������Returns a list associated with this value. |
CCompletion�*
|
GetCompletion
();
����������Returns a completion associated with this value. |
Constructor/Destructor Detail |
CValue();
Constructs the value.
virtual ~CValue();
Destroys the value.
Function Detail |
virtual int GetType();
Returns type of this value.
virtual bool GetBoolean();
Returns a boolean associated with this value.
This value must be of a boolean type.
virtual CString GetString();
Returns a string associated with this value.
This value must be of a string type.
virtual CNumber GetNumber();
Returns a number associated with the value.
This value must be of a number type.
virtual XObject GetObject();
Returns an object associated with this value.
This value must be of an object type.
virtual CReference *GetReference();
Returns a reference associated with this value.
This value must be of a reference type.
virtual CList *GetList();
Returns a list associated with this value.
This value must be of a list type.
virtual CCompletion *GetCompletion();
Returns a completion associated with this value.
This value must be of a completion type.
|
Unicorn XML Toolkit Version 1.00.00 |
|||||||||
� PREV CLASS �� NEXT CLASS | FRAMES��NO FRAMES | |||||||||
SUMMARY: � CONSTR �|� FUNCTION �|�DATA | DETAIL: � CONSTR �|� FUNCTION �|�DATA |