ReactOS 0.4.16-dev-125-g798ea90
|
iterator for XML trees More...
#include <xmlstorage.h>
Public Member Functions | |
const_XMLPos (const XMLNode *root) | |
const_XMLPos (const const_XMLPos &other) | |
const_XMLPos (const XMLPos &other) | |
const XMLNode & | cur () const |
access to current node | |
operator const XMLNode * () const | |
automatic access to current node | |
const XMLNode * | operator-> () const |
const XMLNode & | operator* () const |
XS_String | get (const XS_String &attr_name) const |
attribute access | |
template<typename T > | |
XS_String | get (const T &attr_name) const |
index operator attribute access | |
XS_String | operator[] (const XS_String &attr_name) const |
bool | back () |
go back to previous position | |
bool | go_down () |
go down to first child | |
bool | go_down (const XS_String &child_name, int n=0) |
search for child and go down | |
bool | iterate (const XS_String &child_name, size_t &cnt) |
iterate to the next matching child | |
bool | go (const XPath &xpath) |
move to the position defined by xpath in XML tree | |
const XS_String & | str () const |
Protected Member Functions | |
void | go_to (const XMLNode *child) |
go to specified node | |
Protected Attributes | |
const XMLNode * | _root |
const XMLNode * | _cur |
std::stack< const XMLNode * > | _stack |
iterator for XML trees
Definition at line 1795 of file xmlstorage.h.
Definition at line 1797 of file xmlstorage.h.
|
inline |
Definition at line 1803 of file xmlstorage.h.
|
inline |
go back to previous position
Definition at line 1839 of file xmlstorage.h.
access to current node
Definition at line 1816 of file xmlstorage.h.
index operator attribute access
Definition at line 1835 of file xmlstorage.h.
attribute access
Definition at line 1829 of file xmlstorage.h.
Referenced by XMLStorage::read_option().
move to the position defined by xpath in XML tree
Definition at line 128 of file xmlstorage.cpp.
|
inline |
go down to first child
Definition at line 1850 of file xmlstorage.h.
search for child and go down
Definition at line 1862 of file xmlstorage.h.
Definition at line 1826 of file xmlstorage.h.
Definition at line 1824 of file xmlstorage.h.
Definition at line 1836 of file xmlstorage.h.
Definition at line 1903 of file xmlstorage.h.
Definition at line 1907 of file xmlstorage.h.
Referenced by back(), cur(), get(), go(), go_down(), go_to(), iterate(), operator const XMLNode *(), operator*(), operator->(), operator[](), and str().
Definition at line 1906 of file xmlstorage.h.
Referenced by go().
Definition at line 1908 of file xmlstorage.h.