wex v24.10.0
Public Member Functions | List of all members
wex::data::cmdline Class Reference

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.
 
cmdlinehelp (const std::string &rhs)
 Sets help.
 
bool save () const
 Returns save.
 
cmdlinesave (bool rhs)
 Sets save.
 
const std::string & string () const
 Returns command line string.
 
cmdlinestring (const std::string &rhs)
 Sets command line string.
 

Detailed Description

This class offers data for the command line parser class.