Public Member Functions | |
| XMLHandle (XMLNode *node) | |
| Create a handle from any node(at any depth of the tree.) This can be a null pointer. More... | |
| XMLHandle (XMLNode &node) | |
| Create a handle from a node. More... | |
| XMLHandle (const XMLHandle &ref) | |
| Copy constructor. More... | |
| XMLHandle & | operator= (const XMLHandle &ref) |
| Assignment. More... | |
| XMLHandle | FirstChild () |
| Get the first child of this handle. More... | |
| XMLHandle | FirstChildElement (const char *name=nullptr) |
| Get the first child element of this handle. More... | |
| XMLHandle | LastChild () |
| Get the last child of this handle. More... | |
| XMLHandle | LastChildElement (const char *name=nullptr) |
| Get the last child element of this handle. More... | |
| XMLHandle | PreviousSibling () |
| Get the previous sibling of this handle. More... | |
| XMLHandle | PreviousSiblingElement (const char *name=nullptr) |
| Get the previous sibling element of this handle. More... | |
| XMLHandle | NextSibling () |
| Get the next sibling of this handle. More... | |
| XMLHandle | NextSiblingElement (const char *name=nullptr) |
| Get the next sibling element of this handle. More... | |
| XMLNode * | ToNode () |
| Safe cast to XMLNode. This can return null. More... | |
| XMLElement * | ToElement () |
| Safe cast to XMLElement. This can return null. More... | |
| XMLText * | ToText () |
| Safe cast to XMLText. This can return null. More... | |
| XMLUnknown * | ToUnknown () |
| Safe cast to XMLUnknown. This can return null. More... | |
| XMLDeclaration * | ToDeclaration () |
| Safe cast to XMLDeclaration. This can return null. More... | |
Private Attributes | |
| XMLNode * | _node |
Definition at line 1970 of file tinyxml2.h.
Create a handle from any node(at any depth of the tree.) This can be a null pointer.
Definition at line 1974 of file tinyxml2.h.
Create a handle from a node.
Definition at line 1977 of file tinyxml2.h.
Copy constructor.
Definition at line 1980 of file tinyxml2.h.
|
inline |
Get the first child of this handle.
Definition at line 1989 of file tinyxml2.h.
|
inline |
Get the first child element of this handle.
Definition at line 1993 of file tinyxml2.h.
|
inline |
Get the last child of this handle.
Definition at line 1997 of file tinyxml2.h.
|
inline |
Get the last child element of this handle.
Definition at line 2001 of file tinyxml2.h.
|
inline |
Get the next sibling of this handle.
Definition at line 2013 of file tinyxml2.h.
|
inline |
Get the next sibling element of this handle.
Definition at line 2017 of file tinyxml2.h.
Assignment.
Definition at line 1983 of file tinyxml2.h.
|
inline |
Get the previous sibling of this handle.
Definition at line 2005 of file tinyxml2.h.
|
inline |
Get the previous sibling element of this handle.
Definition at line 2009 of file tinyxml2.h.
|
inline |
Safe cast to XMLDeclaration. This can return null.
Definition at line 2038 of file tinyxml2.h.
|
inline |
Safe cast to XMLElement. This can return null.
Definition at line 2026 of file tinyxml2.h.
|
inline |
Safe cast to XMLNode. This can return null.
Definition at line 2022 of file tinyxml2.h.
|
inline |
Safe cast to XMLText. This can return null.
Definition at line 2030 of file tinyxml2.h.
|
inline |
Safe cast to XMLUnknown. This can return null.
Definition at line 2034 of file tinyxml2.h.
|
private |
Definition at line 2043 of file tinyxml2.h.