|
HDK
|
This class provides a converter for configuration files. More...
#include <CLI11.h>
Inheritance diagram for pxr_CLI::CLI::Config:Public Member Functions | |
| virtual std::string | to_config (const App *, bool, bool, std::string) const =0 |
| Convert an app into a configuration. More... | |
| virtual std::vector< ConfigItem > | from_config (std::istream &) const =0 |
| Convert a configuration into an app. More... | |
| virtual CLI11_NODISCARD std::string | to_flag (const ConfigItem &item) const |
| Get a flag value. More... | |
| CLI11_NODISCARD std::vector < ConfigItem > | from_file (const std::string &name) const |
| Parse a config file, throw an error (ParseError:ConfigParseError or FileError) on failure. More... | |
| virtual | ~Config ()=default |
| Virtual destructor. More... | |
Protected Attributes | |
| std::vector< ConfigItem > | items {} |
|
virtualdefault |
Virtual destructor.
|
pure virtual |
Convert a configuration into an app.
Implemented in pxr_CLI::CLI::ConfigBase.
|
inline |
Parse a config file, throw an error (ParseError:ConfigParseError or FileError) on failure.
|
pure virtual |
Convert an app into a configuration.
Implemented in pxr_CLI::CLI::ConfigBase.
|
inlinevirtual |
|
protected |