cpp-hocon  0.3.0
config_resolve_options.hpp
1 #pragma once
2 
3 #include "export.h"
4 
5 namespace 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 
76  bool get_allow_unresolved() const;
77 
78  private:
79  bool _use_system_environment;
80  bool _allow_unresovled;
81  };
82 
83 } // namespace hocon
hocon::config_resolve_options::set_use_system_environment
config_resolve_options set_use_system_environment(bool value) const
Returns resolve options that disable any reference to "system" data (currently, this means environmen...
hocon
Factory for creating config_document instances.
Definition: config.hpp:18
hocon::config_resolve_options::get_allow_unresolved
bool get_allow_unresolved() const
Returns whether the options allow unresolved substitutions.
hocon::config_resolve_options::config_resolve_options
config_resolve_options(bool use_system_environment=true, bool allow_unresolved=false)
Returns the default resolve options.
hocon::config_resolve_options::set_allow_unresolved
config_resolve_options set_allow_unresolved(bool value) const
Returns options with "allow unresolved" set to the given value.
hocon::value
Definition: tokens.hpp:8
hocon::config_resolve_options
A set of options related to resolving substitutions.
Definition: config_resolve_options.hpp:30
hocon::config_resolve_options::get_use_system_environment
bool get_use_system_environment() const
Returns whether the options enable use of system environment variables.