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

# [NAME](#NAME)

cereal::XMLOutputArchive::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, const char \*nm=nullptr)  
std::string **getValueName** ()  
Gets the name for the next child node created from this node.

## [Public Attributes](#Public_Attributes)

rapidxml::xml\_node * **node**  
A pointer to this node. size\_t **counter**  
The counter for naming child nodes. const char * **name**  
The name for the next child node.

# [Detailed Description](#Detailed_Description)

A struct that contains metadata about a node.

# [Member Function Documentation](#Member_Function_Documentation)

## [std::string cereal::XMLOutputArchive::NodeInfo::getValueName () \[inline\]](#std::string_cereal::XMLOutputArchive::NodeInfo::getValueName_%28%29)

Gets the name for the next child node created from this node. The name will be automatically generated using the counter if a name has not been previously set. If a name has been previously set, that name will be returned only once

# [Author](#Author)

Generated automatically by Doxygen for cereal from the source code.

Mon Oct 26 2026 02:55:37 cereal

---

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