cpp-hocon
0.3.0
hocon
config_render_options.hpp
1
#pragma once
2
3
#include "export.h"
4
5
namespace
hocon
{
6
20
class
LIBCPP_HOCON_EXPORT
config_render_options
{
21
public
:
26
config_render_options
(
bool
origin_comments =
true
,
bool
comments =
true
,
27
bool
formatted =
true
,
bool
json =
true
);
28
35
static
config_render_options
concise();
36
46
config_render_options
set_comments(
bool
value
);
47
54
bool
get_comments()
const
;
55
72
config_render_options
set_origin_comments(
bool
value
);
73
80
bool
get_origin_comments()
const
;
81
90
config_render_options
set_formatted(
bool
value
);
91
98
bool
get_formatted()
const
;
99
111
config_render_options
set_json(
bool
value
);
112
119
bool
get_json()
const
;
120
121
private
:
122
bool
_origin_comments;
123
bool
_comments;
124
bool
_formatted;
125
bool
_json;
126
};
127
128
}
// namespace hocon
hocon::config_render_options
Definition:
config_render_options.hpp:20
hocon::value
Definition:
tokens.hpp:8
hocon
Factory for creating config_document instances.
Definition:
config.hpp:18
Generated on Wed Mar 17 2021 09:30:08 for cpp-hocon by
1.8.14