cereal
A C++11 library for serialization
|
A struct that contains metadata about a node. More...
#include </home/shane/workspace/cereal/include/cereal/archives/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. | |
Public Attributes | |
rapidxml::xml_node * | node |
A pointer to this node. | |
rapidxml::xml_node * | child |
A pointer to its current child. | |
size_t | size |
The remaining number of children for this node. | |
const char * | name |
The NVP name for next child node. | |
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 |
Advances to the next sibling node of the child.
If this is the last sibling child will be null after calling
|
inline |
Searches for a child with the given name in this node.
searchName | The name to search for (must be null terminated) |