rapidxml

◆ value() [1/3]

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

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

Use value_size() function to determine length of the value.

Returns
Value of node, or empty string if node has no value.

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