ReactOS
0.4.15-dev-4574-g434cf85
|
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 More... | |
operator const XMLNode * () const | |
automatic access to current node More... | |
const XMLNode * | operator-> () const |
const XMLNode & | operator * () const |
XS_String | get (const XS_String &attr_name) const |
attribute access More... | |
template<typename T > | |
XS_String | get (const T &attr_name) const |
index operator attribute access More... | |
XS_String | operator[] (const XS_String &attr_name) const |
bool | back () |
go back to previous position More... | |
bool | go_down () |
go down to first child More... | |
bool | go_down (const XS_String &child_name, int n=0) |
search for child and go down More... | |
bool | iterate (const XS_String &child_name, size_t &cnt) |
iterate to the next matching child More... | |
bool | go (const XPath &xpath) |
move to the position defined by xpath in XML tree More... | |
const XS_String & | str () const |
Protected Member Functions | |
void | go_to (const XMLNode *child) |
go to specified node More... | |
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.
Definition at line 1809 of file xmlstorage.h.
|
inline |
attribute access
Definition at line 1829 of file xmlstorage.h.
Referenced by XMLStorage::read_option().
index operator attribute access
Definition at line 1835 of file xmlstorage.h.
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.
iterate to the next matching child
Definition at line 1874 of file xmlstorage.h.
|
inline |
Definition at line 1826 of file xmlstorage.h.
|
inline |
|
inline |
Definition at line 1824 of file xmlstorage.h.
|
inline |
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 *(), operator const XMLNode *(), operator->(), operator[](), and str().
Definition at line 1906 of file xmlstorage.h.
Referenced by go().
|
protected |
Definition at line 1908 of file xmlstorage.h.