1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
#pragma once
#include <hocon/config_include_context.hpp>
#include "parseable.hpp"
namespace hocon {
class simple_include_context : public config_include_context {
public:
// Include context is part of a parseable, so it can always expect a valid parseable reference.
simple_include_context(parseable const& parseable);
// Unused method
// shared_include_context with_parseable(weak_parseable new_parseable) const;
shared_parseable relative_to(std::string file_name) const override;
config_parse_options parse_options() const override;
private:
parseable const& _parseable;
};
} // namespace hocon
|