cpp-hocon 0.3.0
Loading...
Searching...
No Matches
config_includer.hpp
1#pragma once
2
3#include "types.hpp"
4#include <string>
5#include <memory>
6#include "export.h"
7
8namespace hocon {
15 class LIBCPP_HOCON_EXPORT config_includer {
16 public:
32 virtual shared_includer with_fallback(shared_includer fallback) const = 0;
33
51 virtual shared_object include(shared_include_context context, std::string what) const = 0;
52 };
53} // namespace hocon
Implement this interface and provide an instance to config_parse_options.set_includer() to customize ...
virtual shared_includer with_fallback(shared_includer fallback) const =0
Returns a new includer that falls back to the given includer.
virtual shared_object include(shared_include_context context, std::string what) const =0
Parses another item to be included.
Factory for creating config_document instances.
Definition: config.hpp:18