cpp-hocon  0.3.0
Public Member Functions | List of all members
hocon::config_node_field Class Reference

A field represents a key-value pair of the format "key : value", where key is a quoted or unquoted string, and value can be any node type. More...

Inheritance diagram for hocon::config_node_field:
hocon::abstract_config_node_value hocon::abstract_config_node hocon::config_node

Public Member Functions

 config_node_field (shared_node_list children)
 
token_list get_tokens () const override
 
std::shared_ptr< const config_node_fieldreplace_value (shared_node_value new_value) const
 
shared_node_value get_value () const
 
shared_token separator () const
 
std::vector< std::string > comments () const
 
std::shared_ptr< const config_node_pathpath () const
 
std::string render () const
 The original text of the input which was used to form this particular node. More...
 
bool operator== (const abstract_config_node &other) const
 

Detailed Description

A field represents a key-value pair of the format "key : value", where key is a quoted or unquoted string, and value can be any node type.

Definition at line 13 of file config_node_field.hpp.

Member Function Documentation

◆ render()

std::string hocon::abstract_config_node::render ( ) const
virtualinherited

The original text of the input which was used to form this particular node.

Returns
the original text used to form this node as a String

Implements hocon::config_node.


The documentation for this class was generated from the following file: