CSimpleOptTempl< SOCHAR >::SOption Struct Reference

Structure used to define all known options. More...

#include <SimpleOpt.h>

List of all members.

Public Attributes

int nId
const SOCHAR * pszArg
ESOArgType nArgType


Detailed Description

template<class SOCHAR>
struct CSimpleOptTempl< SOCHAR >::SOption

Structure used to define all known options.

Definition at line 341 of file SimpleOpt.h.


Member Data Documentation

template<class SOCHAR>
int CSimpleOptTempl< SOCHAR >::SOption::nId

ID to return for this flag. Optional but must be >= 0

Definition at line 343 of file SimpleOpt.h.

Referenced by CSimpleOptTempl< SOCHAR >::Next().

template<class SOCHAR>
const SOCHAR* CSimpleOptTempl< SOCHAR >::SOption::pszArg

arg string to search for, e.g. "open", "-", "-f", "--file" Note that on Windows the slash option marker will be converted to a hyphen so that "-f" will also match "/f".

Definition at line 348 of file SimpleOpt.h.

Referenced by CSimpleOptTempl< SOCHAR >::Next().

template<class SOCHAR>
ESOArgType CSimpleOptTempl< SOCHAR >::SOption::nArgType

type of argument accepted by this option

Definition at line 351 of file SimpleOpt.h.

Referenced by CSimpleOptTempl< SOCHAR >::Next().


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

Generated on Wed Jul 9 10:51:18 2008 for SimpleOpt by  doxygen 1.5.6