MCPcopy Create free account
hub / github.com/USCiLab/cereal / setNextName

Method setNextName

include/cereal/archives/xml.hpp:248–251  ·  view source on GitHub ↗

Sets the name for the next node created with startNode

Source from the content-addressed store, hash-verified

246
247 //! Sets the name for the next node created with startNode
248 void setNextName( const char * name )
249 {
250 itsNodes.top().name = name;
251 }
252
253 //! Saves some data, encoded as a string, into the current top level node
254 /*! The data will be be named with the most recent name if one exists,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected