cpp-hocon  0.3.0
path_builder.hpp
1 #pragma once
2 
3 #include <hocon/path.hpp>
4 #include <stack>
5 
6 namespace hocon {
7 
8  class path_builder {
9  public:
10  void append_key(std::string key);
11  void append_path(path path_to_append);
12 
15 
16  private:
17  std::stack<std::string> _keys;
18  };
19 
20 } // namespace hocon
hocon
Factory for creating config_document instances.
Definition: config.hpp:18
hocon::path
Definition: path.hpp:13
hocon::path_builder::result
path result()
Returns null if keys is empty.
hocon::path_builder
Definition: path_builder.hpp:8