#include <wx/cmdline.h>
The interface wxCmdLineArg provides information for an instance of argument passed on command line.
Example of use:
With C++11, the for loop could be written:
Public Member Functions | |
| virtual | ~wxCmdLineArg () |
| virtual const wxDateTime & | GetDateVal () const =0 |
| Returns the command line argument value as a wxDateTime. More... | |
| virtual double | GetDoubleVal () const =0 |
| Returns the command line argument value as a double. More... | |
| virtual wxCmdLineEntryType | GetKind () const =0 |
| Returns the command line argument entry kind. More... | |
| virtual long | GetLongVal () const =0 |
| Returns the command line argument value as a long. More... | |
| virtual wxString | GetLongName () const =0 |
| Returns the command line argument long name if any. More... | |
| virtual wxString | GetShortName () const =0 |
| Returns the command line argument short name if any. More... | |
| virtual const wxString & | GetStrVal () const =0 |
| Returns the command line argument value as a string. More... | |
| virtual wxCmdLineParamType | GetType () const =0 |
| Returns the command line argument parameter type. More... | |
| virtual bool | IsNegated () const =0 |
| Returns true if the switch was negated. More... | |
|
inlinevirtual |
|
pure virtual |
Returns the command line argument value as a wxDateTime.
wxCMD_LINE_VAL_DATE options
|
pure virtual |
Returns the command line argument value as a double.
wxCMD_LINE_VAL_DOUBLE options
|
pure virtual |
Returns the command line argument entry kind.
|
pure virtual |
Returns the command line argument long name if any.
|
pure virtual |
Returns the command line argument value as a long.
wxCMD_LINE_VAL_NUMBER options
|
pure virtual |
Returns the command line argument short name if any.
|
pure virtual |
Returns the command line argument value as a string.
wxCMD_LINE_VAL_STRING options and parameters
|
pure virtual |
Returns the command line argument parameter type.
wxCMD_LINE_OPTION).
|
pure virtual |
Returns true if the switch was negated.