This converter works with INI/TOML files; to write proper TOML files use ConfigTOML.
More...
#include <ConfigFwd.hpp>
This converter works with INI/TOML files; to write proper TOML files use ConfigTOML.
◆ arrayBounds()
ConfigBase* CLI::ConfigBase::arrayBounds |
( |
char |
aStart, |
|
|
char |
aEnd |
|
) |
| |
|
inline |
Specify the start and end characters for an array.
◆ arrayDelimiter()
ConfigBase* CLI::ConfigBase::arrayDelimiter |
( |
char |
aSep | ) |
|
|
inline |
Specify the delimiter character for an array.
◆ comment()
ConfigBase* CLI::ConfigBase::comment |
( |
char |
cchar | ) |
|
|
inline |
Specify the configuration for comment characters.
◆ from_config()
std::vector< ConfigItem > CLI::ConfigBase::from_config |
( |
std::istream & |
| ) |
const |
|
inlineoverridevirtual |
Convert a configuration into an app.
Implements CLI::Config.
◆ to_config()
std::string CLI::ConfigBase::to_config |
( |
const App * |
, |
|
|
bool |
, |
|
|
bool |
, |
|
|
std::string |
|
|
) |
| const |
|
inlineoverridevirtual |
Convert an app into a configuration.
Implements CLI::Config.
◆ valueSeparator()
ConfigBase* CLI::ConfigBase::valueSeparator |
( |
char |
vSep | ) |
|
|
inline |
Specify the delimiter between a name and value.
◆ arrayEnd
char CLI::ConfigBase::arrayEnd = '\0' |
|
protected |
the character used to end an array '\0' is a default to not use
◆ arraySeparator
char CLI::ConfigBase::arraySeparator = ' ' |
|
protected |
the character used to separate elements in an array
◆ arrayStart
char CLI::ConfigBase::arrayStart = '\0' |
|
protected |
the character used to start an array '\0' is a default to not use
◆ commentChar
char CLI::ConfigBase::commentChar = ';' |
|
protected |
the character used for comments
◆ valueDelimiter
char CLI::ConfigBase::valueDelimiter = '=' |
|
protected |
the character used separate the name from the value
The documentation for this class was generated from the following files: