CLI11  1.9.1
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:
CLI::ConfigBase CLI::Config

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< ConfigItem > from_config (std::istream &input) const override
 Convert a configuration into an app. More...
 
ConfigBase * comment (char cchar)
 Specify the configuration for comment characters. More...
 
ConfigBase * arrayBounds (char aStart, char aEnd)
 Specify the start and end characters for an array. More...
 
ConfigBase * arrayDelimiter (char aSep)
 Specify the delimiter character for an array. More...
 
ConfigBase * valueSeparator (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< ConfigItem > from_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< ConfigItem > items {}
 

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: