rapidxml

◆ name() [1/3]

template<class Ch = char>
Ch * name ( ) const
inline

Gets name of the node. Interpretation of name depends on type of node. Note that name will not be zero-terminated if rapidxml::parse_no_string_terminators option was selected during parse.

Use name_size() function to determine length of the name.

Returns
Name of node, or empty string if node has no name.

Referenced by memory_pool< Ch >::allocate_attribute(), memory_pool< Ch >::allocate_node(), memory_pool< Ch >::clone_node(), xml_base< Ch >::name(), and xml_base< Ch >::name().