3 #include <hocon/config_value.hpp> 4 #include <internal/config_util.hpp> 8 enum class config_string_type { QUOTED, UNQUOTED };
15 std::string transform_to_string()
const override;
17 unwrapped_value unwrapped()
const override;
19 bool was_quoted()
const;
20 bool operator==(
config_value const& other)
const override;
23 shared_value new_copy(shared_origin)
const override;
29 config_string_type _quoted;
virtual shared_origin const & origin() const
The origin of the value (file, line number, etc.), for debugging and error messages.
virtual std::string render() const
Renders the config value as a HOCON string.
type
The type of a configuration value (following the JSON type schema).
Factory for creating config_document instances.
config_value::type value_type() const override
The type of the value; matches the JSON type schema.
An immutable value, following the JSON type schema.