|
NDDEM
|
A struct that contains metadata about a node. More...
#include <xml.hpp>
Public Member Functions | |
| NodeInfo (rapidxml::xml_node<> *n=nullptr) | |
| void | advance () |
| Advances to the next sibling node of the child. More... | |
| rapidxml::xml_node * | search (const char *searchName) |
| Searches for a child with the given name in this node. More... | |
| const char * | getChildName () const |
| Returns the actual name of the next child node, if it exists. More... | |
Public Attributes | |
| rapidxml::xml_node * | node |
| A pointer to this node. More... | |
| rapidxml::xml_node * | child |
| A pointer to its current child. More... | |
| size_t | size |
| The remaining number of children for this node. More... | |
| const char * | name |
| The NVP name for next child node. More... | |
A struct that contains metadata about a node.
Keeps track of some top level node, its number of remaining children, and the current active child node
|
inline |
|
inline |
Advances to the next sibling node of the child.
If this is the last sibling child will be null after calling
|
inline |
Returns the actual name of the next child node, if it exists.
|
inline |
Searches for a child with the given name in this node.
| searchName | The name to search for (must be null terminated) |
| rapidxml::xml_node* cereal::XMLInputArchive::NodeInfo::child |
A pointer to its current child.
| const char* cereal::XMLInputArchive::NodeInfo::name |
The NVP name for next child node.
| rapidxml::xml_node* cereal::XMLInputArchive::NodeInfo::node |
A pointer to this node.
| size_t cereal::XMLInputArchive::NodeInfo::size |
The remaining number of children for this node.