cereal::XMLInputArchive::NodeInfo(3) Library Functions Manual cereal::XMLInputArchive::NodeInfo(3)

# [NAME](#NAME)

cereal::XMLInputArchive::NodeInfo - A struct that contains metadata about a node.

# [SYNOPSIS](#SYNOPSIS)

#include &lt;/home/build/include/cereal/archives/xml.hpp&gt;

## [Public Member Functions](#Public_Member_Functions)

**NodeInfo** (rapidxml::xml\_node&lt;&gt; \*n=nullptr)  
void **advance** ()  
Advances to the next sibling node of the child. rapidxml::xml\_node * **search** (const char \*searchName)  
Searches for a child with the given name in this node. const char * **getChildName** () const  
Returns the actual name of the next child node, if it exists.

## [Public Attributes](#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.

# [Detailed Description](#Detailed_Description)

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

# [Member Function Documentation](#Member_Function_Documentation)

## [void cereal::XMLInputArchive::NodeInfo::advance () \[inline\]](#void_cereal::XMLInputArchive::NodeInfo::advance_%28%29)

Advances to the next sibling node of the child. If this is the last sibling child will be null after calling

## [rapidxml::xml\_node * cereal::XMLInputArchive::NodeInfo::search (const char * searchName) \[inline\]](#rapidxml::xml_node_*_cereal::XMLInputArchive::NodeInfo::search_%28const_char_*_searchName%29)

Searches for a child with the given name in this node.

**Parameters**

*searchName* The name to search for (must be null terminated)

**Returns**

The node if found, nullptr otherwise

# [Author](#Author)

Generated automatically by Doxygen for cereal from the source code.

Mon Oct 26 2026 20:39:03 cereal

---

Document: cereal_XMLInputArchive_NodeInfo(3) from cereal 1.3.2-r8 (Chainguard OS)
Source: https://github.com/USCiLab/cereal
