CLI11  1.9.0
Public Member Functions | List of all members
CLI::ConfigTOML Class Reference

ConfigTOML generates a TOML compliant output. More...

#include <ConfigFwd.hpp>

Inheritance diagram for CLI::ConfigTOML:
Inheritance graph
[legend]
Collaboration diagram for CLI::ConfigTOML:
Collaboration graph
[legend]

Public Member Functions

 ConfigTOML ()
 
- Public Member Functions inherited from CLI::ConfigBase
std::string to_config (const App *, bool default_also, bool write_description, std::string prefix) const override
 Convert an app into a configuration. More...
 
std::vector< ConfigItemfrom_config (std::istream &input) const override
 Convert a configuration into an app. More...
 
ConfigBasecomment (char cchar)
 Specify the configuration for comment characters. More...
 
ConfigBasearrayBounds (char aStart, char aEnd)
 Specify the start and end characters for an array. More...
 
ConfigBasearrayDelimiter (char aSep)
 Specify the delimiter character for an array. More...
 
ConfigBasevalueSeparator (char vSep)
 Specify the delimiter between a name and value. More...
 
- Public Member Functions inherited from CLI::Config
virtual std::string to_flag (const ConfigItem &item) const
 Get a flag value. More...
 
std::vector< ConfigItemfrom_file (const std::string &name)
 Parse a config file, throw an error (ParseError:ConfigParseError or FileError) on failure. More...
 
virtual ~Config ()=default
 Virtual destructor. More...
 

Additional Inherited Members

- Protected Attributes inherited from CLI::ConfigBase
char commentChar = ';'
 the character used for comments More...
 
char arrayStart = '\0'
 the character used to start an array '\0' is a default to not use More...
 
char arrayEnd = '\0'
 the character used to end an array '\0' is a default to not use More...
 
char arraySeparator = ' '
 the character used to separate elements in an array More...
 
char valueDelimiter = '='
 the character used separate the name from the value More...
 
- Protected Attributes inherited from CLI::Config
std::vector< ConfigItemitems {}
 

Detailed Description

ConfigTOML generates a TOML compliant output.

Constructor & Destructor Documentation

◆ ConfigTOML()

CLI::ConfigTOML::ConfigTOML ( )
inline

The documentation for this class was generated from the following file: