ZeusBase-Library
2.0.4
|
#include <IXMemberVariable.hpp>
Public Types | |
enum | EVariableType { etXMLNode = 0, etInt = 1, etUint = 2, etFloat = 3, etBoolean = 4, etString = 5, etObjectRef = 6, etList = 7 } |
Public Member Functions | |
virtual EVariableType MQUALIFIER | getMemberType () const =0 |
virtual void MQUALIFIER | getName (IString &rstrName) const =0 |
virtual Retval MQUALIFIER | getString (IString &rstrValue) const =0 |
virtual Retval MQUALIFIER | getValue (IZVariant &rValue) const =0 |
virtual Retval MQUALIFIER | getXMLNode (IXMLNode *&rpValue) const =0 |
virtual Retval MQUALIFIER | setString (const IString &rstrValue)=0 |
virtual Retval MQUALIFIER | setValue (const IZVariant &rValue)=0 |
virtual Retval MQUALIFIER | getListItems (IXPathResults *&rpList) const =0 |
virtual Retval MQUALIFIER | getListItem (Int iIndex, IXMLNode *&rpItem) const =0 |
virtual Retval MQUALIFIER | addListItem (IXMLNode *&rpItem)=0 |
virtual Retval MQUALIFIER | insertListItem (Int iIndex, IXMLNode *&rpItem)=0 |
virtual Retval MQUALIFIER | deleteListItem (Int iIndex)=0 |
Public Member Functions inherited from zeus::IZUnknown | |
virtual Retval MQUALIFIER | askForInterface (const InterfaceID &rInterfaceID, IZUnknown *&rpIface)=0 |
virtual void MQUALIFIER | addRef () const =0 |
virtual void MQUALIFIER | release () const =0 |
This interface defines a X-Object member
Available member types
|
pure virtual |
Adds an item to the list
rpItem | return parameter of the added item |
RET_NOERROR | Item added |
RET_REQUEST_FAILED | Wasn't able to add a new item |
RET_INVALID_TYPE | Invalid variable type |
Implemented in zeus::TXMemberVariable.
|
pure virtual |
Removes an element out of the list
iIndex | Index of the element to remove |
RET_NOERROR | Element removed |
RET_INVALID_TYPE | Invalid variable type |
Implemented in zeus::TXMemberVariable.
|
pure virtual |
Returns the indexed item at position iIndex of list type
iIndex | Index of requested item |
rpItem | Item at [iIndex] |
RET_NOERROR | Item returned |
RET_REQUEST_FAILED | Invalid item index |
RET_INVALID_TYPE | Invalid variable type |
Implemented in zeus::TXMemberVariable.
|
pure virtual |
Returns the items of list type as a IXPathResult
rpList | return variable of the item list |
RET_NOERROR | List returned |
RET_INVALID_TYPE | Invalid variable type |
Implemented in zeus::TXMemberVariable.
|
pure virtual |
Returns the member type
Implemented in zeus::TXMemberVariable.
|
pure virtual |
Returns the name of the variable
rstrName | return parameter |
Implemented in zeus::TXMemberVariable.
|
pure virtual |
returns the string value
rstrValue | return parameter |
RET_NOERROR | Value returned |
RET_INVALID_TYPE | invalid variable type |
Implemented in zeus::TXMemberVariable.
|
pure virtual |
returns the member value
rValue | variant value to return |
RET_NOERROR | Value returned |
RET_INVALID_TYPE | invalid variable type |
Implemented in zeus::TXMemberVariable.
|
pure virtual |
returns the XML node
rpValue | return parameter |
RET_NOERROR | XML node returned |
RET_REQUEST_FAILED | not a XML value type |
Implemented in zeus::TXMemberVariable.
|
pure virtual |
Inserts an item into the list at position iIndex of list type. If iIndex = 0, then the rItem is placed in the front (prepend); if the iIndex >= count or iIndex < 0, the item is placed at the end (append); else the rItem is placed at position iIndex
iIndex | Insert position |
rpItem | return parameter of the inserted item |
RET_NOERROR | Item inserted |
RET_REQUEST_FAILED | Wasn't able to insert a new item |
RET_INVALID_TYPE | Invalid variable type |
Implemented in zeus::TXMemberVariable.
|
pure virtual |
returns the string value
rstrValue | value to set |
RET_NOERROR | Value set |
RET_INVALID_TYPE | Invalid variable type |
Implemented in zeus::TXMemberVariable.
|
pure virtual |
sets the member value
rValue | variant value to set |
RET_NOERROR | Value set |
RET_INVALID_TYPE | invalid variable type |
Implemented in zeus::TXMemberVariable.