#include <XObjectPath.h>

Public Types | |
| enum | ETokenValue { etValueEnd = '\0', etValuePoint = '.', etValueSeperator = '/', etValueOpenBracket = '[', etValueCloseBracket = ']', etValueEquals = '=', etValueAttribute = '@', etValueSmi = '\'' } |
| enum | ETokenType { etTokenUnknown, etTokenRoot, etTokenParent, etTokenRecursive, etTokenObject } |
Public Member Functions | |
| TXObjectPath (IXObject *pObj) | |
| virtual | ~TXObjectPath () |
| Retval | getObject (const IString &rPath, IXObject *&rpObject) |
| Retval | getObjects (const IString &rPath, IXObjectCollection *&pObjects) |
Protected Member Functions | |
| Retval | findObject (IXObject &rBaseObject, IXObject *&rpResult) |
| Retval | findObjects2 (IXObject &rBaseObject, TStack< RToken > &rTokens, TXObjectCollection &rResults) |
Protected Attributes | |
| TQueue< RToken > | m_lstTokens |
| Token Queue. | |
Classes | |
| struct | RToken |
| TXObjectPath::TXObjectPath | ( | IXObject * | pObj | ) |
Creates the XObject Path
| TXObjectPath::~TXObjectPath | ( | ) | [virtual] |
Destroys the object path
Suchen nach einem Modul
| rPath | : Pfad des Moduls | |
| rpObject | : Rueckgabeparameter |
| NULL | : Das Modul mit diesem Pfad existiert nicht | |
| Pointer | : Zeiger auf das gefundene Modul |
| Retval TXObjectPath::getObjects | ( | const IString & | rPath, | |
| IXObjectCollection *& | rpObjects | |||
| ) |
This method searches for xobject applying the path
| rPath | : Path of objects | |
| pObjects | : return parameter |
| RET_NOERROR | : Objects returned | |
| RET_REQUEST_FAILED | : Could not find an object |
This method searches for a single object which was selected by the xobject path.
| rBaseObject | : base object for further search | |
| rpResult | : return parameter contains the selected object |
| RET_NOERROR,: | object found | |
| RET_REQUEST_FAILED | : Invalid xobject path |
| Retval TXObjectPath::findObjects2 | ( | IXObject & | rBaseObject, | |
| TStack< RToken > & | rTokenList, | |||
| TXObjectCollection & | rResults | |||
| ) | [protected] |
This method searches for objects which are selectable by the xobject path It will return a collection of all objects found.
| rBaseObject | : base object for further search | |
| rTokenList | : temporary token list | |
| rResults | : return parameter contains the list |
| RET_NOERROR,: | Collection found | |
| RET_REQUEST_FAILED | : Invalid xobject path |
TQueue<RToken> zeus::TXObjectPath::m_lstTokens [protected] |
Token Queue.