Core Library
Public Types | Public Attributes
Core::CmdLineSwitch Struct Reference

The definition of a command line switch. More...

#include <CmdLineSwitch.hpp>

List of all members.

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 tcharm_pszShortName
 The switch short name.
const tcharm_pszLongName
 The switch long name.
Occurences m_eOccurences
 The number of ocurrences allowed.
Parameters m_eParameters
 The number of addtional parameters.
const tcharm_pszParamDesc
 The parameter description.
const tcharm_pszDescription
 The switch description.

Detailed 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.


Member Enumeration Documentation

The number of occurences.

Enumerator:
ONCE 
MANY 

The number of parameters.

Enumerator:
NONE 
SINGLE 
MULTIPLE 

Member Data Documentation

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.


The documentation for this struct was generated from the following file: