3 #include <hocon/parser/config_document.hpp> 
    4 #include <internal/nodes/config_node_root.hpp> 
    5 #include <hocon/config_parse_options.hpp> 
   15         std::unique_ptr<config_document> 
with_value_text(std::string 
path, std::string new_value) 
const override;
 
   17                                                     std::shared_ptr<config_value> new_value) 
const override;
 
   25         std::shared_ptr<const config_node_root> _config_node_tree;
 
  
std::unique_ptr< config_document > with_value_text(std::string path, std::string new_value) const override
Returns a new config_document that is a copy of the current config_document, but with the desired val...
 
Factory for creating config_document instances.
 
Represents an individual HOCON or JSON file, preserving all formatting and syntax details.
 
A set of options related to parsing.
 
std::unique_ptr< config_document > with_value(std::string path, std::shared_ptr< config_value > new_value) const override
Returns a new config_document that is a copy of the current config_document, but with the desired val...
 
bool has_path(std::string const &path) const override
Returns a boolean indicating whether or not a config_document has a value at the desired path.
 
std::string render() const override
The original text of the input, modified if necessary with any replaced or added values.
 
std::unique_ptr< config_document > without_path(std::string path) const override
Returns a new config_document that is a copy of the current config_document, but with all values at t...