Loading...
Searching...
No Matches
#include <options.h>
+ Collaboration diagram for optionst:
N.B. opts.is_set("foo") does not imply opts.get_bool_option("foo")
Returns the options as JSON key value pairs.
Returns the options in XML format.
Outputs the options to out
Detailed Description
Member Typedef Documentation
◆ option_mapt
◆ value_listt
Constructor & Destructor Documentation
◆ optionst()
optionst::optionst
(
)
inline
◆ ~optionst()
optionst::~optionst
(
)
inline
Member Function Documentation
◆ get_bool_option()
bool optionst::get_bool_option
(
const std::string &
option )
const
◆ get_list_option()
◆ get_option()
const std::string optionst::get_option
(
const std::string &
option )
const
◆ get_signed_int_option()
signed int optionst::get_signed_int_option
(
const std::string &
option )
const
◆ get_unsigned_int_option()
unsigned int optionst::get_unsigned_int_option
(
const std::string &
option )
const
◆ is_set()
bool optionst::is_set
(
const std::string &
option )
const
N.B. opts.is_set("foo") does not imply opts.get_bool_option("foo")
Definition at line 62 of file options.cpp.
◆ operator=()
◆ output()
void optionst::output
(
std::ostream &
out )
const
Outputs the options to out
Definition at line 121 of file options.cpp.
◆ set_option() [1/6]
void optionst::set_option
(
const std::string &
option,
)
◆ set_option() [2/6]
void optionst::set_option
(
const std::string &
option,
)
inline
◆ set_option() [3/6]
void optionst::set_option
(
const std::string &
option,
)
◆ set_option() [4/6]
void optionst::set_option
(
const std::string &
option,
const std::string &
value
)
◆ set_option() [5/6]
void optionst::set_option
(
const std::string &
option,
)
◆ set_option() [6/6]
void optionst::set_option
(
const std::string &
option,
)
inline
◆ to_json()
Returns the options as JSON key value pairs.
Definition at line 93 of file options.cpp.
◆ to_xml()
xmlt optionst::to_xml
(
)
const
Returns the options in XML format.
Definition at line 104 of file options.cpp.
Member Data Documentation
◆ empty_list
◆ option_map
The documentation for this class was generated from the following files: