cpp-hocon 0.3.0
Loading...
Searching...
No Matches
config_node_field.hpp
1#pragma once
2
3#include "abstract_config_node_value.hpp"
4#include "config_node_path.hpp"
5
6
7namespace 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
This is used to classify certain abstract_config_node subclasses.
A field represents a key-value pair of the format "key : value", where key is a quoted or unquoted st...
Factory for creating config_document instances.
Definition: config.hpp:18