quic/qbox
|
#include <argparser.h>
Public Member Functions | |
ArgParser (cci::cci_broker_handle a_broker, const int argc, char *const argv[], bool enforce_config_file=false) | |
Protected Member Functions | |
std::pair< std::string, std::string > | get_key_val_args (const std::string &arg) |
convert "foo=bar" kind of command line arg to std::pair<std::string, std::string> | |
void | parseCommandLineWithGetOpt (cci::cci_broker_handle a_broker, const int argc, const char *const *argv, bool enforce_config_file) |
Parses the command line with getopt and extracts the luafile option. | |
This is an example VP command line arguments parser to call the proper APIs of the LuaFile_Tool class to configure a platform and populate CCI parameters.
|
inlineprotected |
convert "foo=bar" kind of command line arg to std::pair<std::string, std::string>
arg | The "foo=bar" cmd line argument. |
|
inlineprotected |
Parses the command line with getopt and extracts the luafile option.
argc | The argc of main(...). |
argv | The argv of main(...). |