cpp-hocon 0.3.0
Loading...
Searching...
No Matches
config_resolve_options.hpp
1#pragma once
2
3#include "export.h"
4
5namespace hocon {
6
30 class LIBCPP_HOCON_EXPORT config_resolve_options {
31 public:
38 config_resolve_options(bool use_system_environment = true, bool allow_unresolved = false);
39
47
56
69
77
78 private:
79 bool _use_system_environment;
80 bool _allow_unresovled;
81 };
82
83} // namespace hocon
A set of options related to resolving substitutions.
config_resolve_options set_use_system_environment(bool value) const
Returns resolve options that disable any reference to "system" data (currently, this means environmen...
bool get_allow_unresolved() const
Returns whether the options allow unresolved substitutions.
config_resolve_options(bool use_system_environment=true, bool allow_unresolved=false)
Returns the default resolve options.
config_resolve_options set_allow_unresolved(bool value) const
Returns options with "allow unresolved" set to the given value.
bool get_use_system_environment() const
Returns whether the options enable use of system environment variables.
Factory for creating config_document instances.
Definition: config.hpp:18