#include <CommandLineParser.h>
|
| typedef std::variant< int32_t *, uint32_t *, int64_t *, uint64_t *, double *, float *, bool *, std::string * > | Value |
|
| | CommandLineParser (std::string description) |
| void | addArgument (std::vector< std::string > const &flags, Value const &value, std::string const &help) |
| void | printHelp (std::ostream &os=std::cout) const |
| void | parse (int argc, const char *argv[]) const |
◆ Value
◆ CommandLineParser()
| sf::CommandLineParser::CommandLineParser |
( |
std::string | description | ) |
|
|
explicit |
◆ addArgument()
| void sf::CommandLineParser::addArgument |
( |
std::vector< std::string > const & | flags, |
|
|
Value const & | value, |
|
|
std::string const & | help ) |
◆ parse()
| void sf::CommandLineParser::parse |
( |
int | argc, |
|
|
const char * | argv[] ) const |
◆ printHelp()
| void sf::CommandLineParser::printHelp |
( |
std::ostream & | os = std::cout | ) |
const |
The documentation for this class was generated from the following file: