|
Unicorn XML Toolkit Version 1.00.00 |
|||||||||
� PREV CLASS �� NEXT CLASS | FRAMES��NO FRAMES | |||||||||
SUMMARY: � CONSTR �|� FUNCTION �|�DATA | DETAIL: � CONSTR �|� FUNCTION �|�DATA |
class CObject: public CInterface { public: CObject(); virtual ~CObject(); public: virtual XValue Get(const CString &strProperty) = 0; virtual void Put( const CString &strProperty, const XValue &pValue) = 0; virtual void Delete(const CString &strProperty) = 0; virtual XValue Call( const CString &strProperty, const CParamList ¶mList) = 0; virtual XObjectIterator CreateIterator( const CString &strProperty, const CParamList ¶mList) = 0; };
The abstract interface to objects.
The auxiliary data type
CParamList
is defined
via
typedef
as the variable-sized array of XPath values
(
XArray<XValue>
) and represents lists of
parameters passed to object methods.
CObjectIterator, Xpath::CValue
Constructor/Destructor Summary | |
CObject
();
����������Constructs the object. |
|
~CObject
();
����������Destroys the object. |
Function Summary | |
XValue
|
Get
(const CString &strProperty);
����������Gets the property value. |
void
|
Put
(const CString &strProperty, const XValue &pValue);
����������Assigns the new value to the given property. |
void
|
Delete
(const CString &strProperty);
����������Deletes the given property. |
XValue
|
Call
(const CString &strProperty, const CParamList ¶mList);
����������Calls the given property of the object as a function. |
XObjectIterator
|
CreateIterator
(const CString &strProperty, const CParamList ¶mList);
����������Creates the iterator associated with the given property of this object and the given parameter list. |
Constructor/Destructor Detail |
CObject();
Constructs the object.
virtual ~CObject();
Destroys the object.
Function Detail |
virtual XValue Get(const CString &strProperty) = 0;
Gets the property value.
strProperty
- the property namevirtual void Put( const CString &strProperty, const XValue &pValue) = 0;
Assigns the new value to the given property.
strProperty
- the property namepValue
- the value to assignvirtual void Delete(const CString &strProperty) = 0;
Deletes the given property.
strProperty
- the property namevirtual XValue Call( const CString &strProperty, const CParamList ¶mList) = 0;
Calls the given property of the object as a function.
strProperty
- the property nameparamList
- the parameter listvirtual XObjectIterator CreateIterator( const CString &strProperty, const CParamList ¶mList) = 0;
Creates the iterator associated with the given property of this object and the given parameter list.
See the description of the
CObjectIterator
class for general information about iterators.
strProperty
- the property nameparamList
- the parameter list
|
Unicorn XML Toolkit Version 1.00.00 |
|||||||||
� PREV CLASS �� NEXT CLASS | FRAMES��NO FRAMES | |||||||||
SUMMARY: � CONSTR �|� FUNCTION �|�DATA | DETAIL: � CONSTR �|� FUNCTION �|�DATA |