cpp-hocon  0.3.0
config_node_field.hpp
1 #pragma once
2 
3 #include "abstract_config_node_value.hpp"
4 #include "config_node_path.hpp"
5 
6 
7 namespace hocon {
8 
14  public:
15  config_node_field(shared_node_list children);
16 
17  token_list get_tokens() const override;
18 
19  std::shared_ptr<const config_node_field> replace_value(shared_node_value new_value) const;
20  shared_node_value get_value() const;
21  shared_token separator() const;
22  std::vector<std::string> comments() const;
23  std::shared_ptr<const config_node_path> path() const;
24 
25  private:
26  shared_node_list _children;
27  };
28 
29 } // namespace hocon
hocon::abstract_config_node_value
This is used to classify certain abstract_config_node subclasses.
Definition: abstract_config_node_value.hpp:8
hocon
Factory for creating config_document instances.
Definition: config.hpp:18
hocon::config_node_field
A field represents a key-value pair of the format "key : value", where key is a quoted or unquoted st...
Definition: config_node_field.hpp:13
hocon::path
Definition: path.hpp:13