cpp-hocon  0.3.0
Public Member Functions | Static Public Member Functions | List of all members
hocon::config_node_object Class Reference
Inheritance diagram for hocon::config_node_object:
hocon::config_node_complex_value hocon::abstract_config_node_value hocon::abstract_config_node hocon::config_node

Public Member Functions

 config_node_object (shared_node_list children)
 
std::shared_ptr< const config_node_complex_valuenew_node (shared_node_list nodes) const override
 
bool has_value (path desired_path) const
 
shared_node_object change_value_on_path (path desired_path, shared_node_value value, config_syntax flavor) const
 
shared_node_object set_value_on_path (std::string desired_path, shared_node_value value, config_syntax flavor=config_syntax::CONF) const
 
shared_node_object set_value_on_path (config_node_path desired_path, shared_node_value value, config_syntax flavor=config_syntax::CONF) const
 
shared_node_list indentation () const
 
shared_node_object add_value_on_path (config_node_path desired_path, shared_node_value value, config_syntax flavor) const
 
shared_node_object remove_value_on_path (std::string desired_path, config_syntax flavor) const
 
token_list get_tokens () const override
 
shared_node_list const & children () const
 
std::shared_ptr< const config_node_complex_valueindent_text (shared_node indentation) 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
 

Static Public Member Functions

static bool contains_token (shared_node node, token_type token)
 

Detailed Description

Definition at line 13 of file config_node_object.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: