Core Library
|
The definition of a command line switch. More...
#include <CmdLineSwitch.hpp>
Public Types | |
enum | Occurences { ONCE, MANY } |
The number of occurences. More... | |
enum | Parameters { NONE, SINGLE, MULTIPLE } |
The number of parameters. More... | |
Public Attributes | |
int | m_nID |
The identifier for the switch. | |
const tchar * | m_pszShortName |
The switch short name. | |
const tchar * | m_pszLongName |
The switch long name. | |
Occurences | m_eOccurences |
The number of ocurrences allowed. | |
Parameters | m_eParameters |
The number of addtional parameters. | |
const tchar * | m_pszParamDesc |
The parameter description. | |
const tchar * | m_pszDescription |
The switch description. |
The definition of a command line switch.
The CmdLineParser class uses a table of these to parse a command line. Each switch must have at least a short or long name.
The identifier for the switch.
The switch short name.
The switch long name.
The number of ocurrences allowed.
The number of addtional parameters.
The parameter description.
The switch description.