ReactOS 0.4.16-dev-835-gd769f56
|
Reader for XML Messages. More...
#include <xmlstorage.h>
Public Member Functions | |
XMLMessageReader (const std::string &xml_str, const std::string &system_id=std::string()) | |
const XMLDoc & | get_document () |
![]() | |
XMLPos (XMLNode *root) | |
XMLPos (const XMLPos &other) | |
XMLPos (XMLNode *node, const XS_String &name) | |
XMLPos (XMLNode *node, const XS_String &name, const XS_String &attr_name, const XS_String &attr_value) | |
XMLPos (const XMLPos &other, const XS_String &name) | |
XMLPos (const XMLPos &other, const XS_String &name, const XS_String &attr_name, const XS_String &attr_value) | |
XMLNode & | cur () |
access to current node | |
const XMLNode & | cur () const |
operator const XMLNode * () const | |
automatic access to current node | |
operator XMLNode * () | |
const XMLNode * | operator-> () const |
XMLNode * | operator-> () |
const XMLNode & | operator* () const |
XMLNode & | operator* () |
XS_String | get (const XS_String &attr_name, LPCXSSTR def=XS_EMPTY_STR) const |
attribute access | |
void | put (const XS_String &attr_name, const XS_String &value) |
attribute setting | |
template<typename T > | |
XS_String | get (const T &attr_name) const |
index operator attribute access | |
XS_String & | operator[] (const XS_String &attr_name) |
const XS_String & | operator[] (const XS_String &attr_name) const |
void | add_down (XMLNode *child) |
insert children when building tree | |
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 | |
bool | create_relative (const XPath &xpath) |
create child nodes using XPath notation and move to the deepest child | |
void | create (const XS_String &name) |
create node and move to it | |
void | create_node_content (const XS_String &node_name, const XS_String &content) |
create node with string content | |
void | smart_create (const XS_String &child_name) |
create node if not already existing and move to it | |
void | smart_create (const XS_String &child_name, const XS_String &attr_name, const XS_String &attr_value) |
search matching child node identified by key name and an attribute value | |
int | count (const XPath &xpath) const |
count the nodes matching the given relative XPath expression | |
int | filter (const XPath &xpath, XMLNode &target) const |
create a new node tree using the given XPath filter expression | |
bool | delete_this () |
delete current node and go back to previous position | |
void | remove_children (const XS_String &name) |
remove all children named 'name' | |
void | erase (const XS_String &attr_name) |
remove the attribute 'attr_name' from the current node | |
XS_String & | str () |
const XS_String & | str () const |
void | set_property (const XS_String &key, int value, const XS_String &name=XS_PROPERTY) |
void | set_property (const XS_String &key, double value, const XS_String &name=XS_PROPERTY) |
void | set_property (const XS_String &key, const XS_String &value, const XS_String &name=XS_PROPERTY) |
void | set_property (const XS_String &key, const struct XMLBool &value, const XS_String &name=XS_PROPERTY) |
void | set_property (const XS_String &key, const char *value, const XS_String &name=XS_PROPERTY) |
Protected Attributes | |
XMLDoc | _msg |
![]() | |
XMLNode * | _root |
XMLNode * | _cur |
std::stack< XMLNode * > | _stack |
Additional Inherited Members | |
![]() | |
void | go_to (XMLNode *child) |
go to specified node | |
Reader for XML Messages.
Definition at line 2882 of file xmlstorage.h.
|
inline |
Definition at line 2884 of file xmlstorage.h.
Definition at line 2890 of file xmlstorage.h.
|
protected |
Definition at line 2896 of file xmlstorage.h.
Referenced by get_document(), and XMLMessageReader().