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

Method getNodeName

include/cereal/archives/xml.hpp:522–525  ·  view source on GitHub ↗

Retrieves the current node name will return @c nullptr if the node does not have a name

Source from the content-addressed store, hash-verified

520 //! Retrieves the current node name
521 //! will return @c nullptr if the node does not have a name
522 const char * getNodeName() const
523 {
524 return itsNodes.top().getChildName();
525 }
526
527 //! Sets the name for the next node created with startNode
528 void setNextName( const char * name )

Callers

nothing calls this directly

Calls 1

getChildNameMethod · 0.80

Tested by

no test coverage detected