wex v24.10.0
|
This class offers data for the command line parser class. More...
#include <wex/core/cmdline-data.h>
Public Member Functions | |
cmdline (const std::string &text) | |
Constructor from commandline text. | |
cmdline (int ac, char *av[]) | |
Constructor from commandline argument count and vector. | |
int | ac () const |
Returns argument count. | |
char ** | av () const |
Returns arguments. | |
const std::string & | help () const |
Returns help. | |
cmdline & | help (const std::string &rhs) |
Sets help. | |
bool | save () const |
Returns save. | |
cmdline & | save (bool rhs) |
Sets save. | |
const std::string & | string () const |
Returns command line string. | |
cmdline & | string (const std::string &rhs) |
Sets command line string. | |
This class offers data for the command line parser class.