Puma Reference Manual Puma::OptsParser::Option Struct Reference



Puma::OptsParser::Option Struct Reference

Type for specifying an array of options recognized by the Option Parser. More...

#include <OptsParser.h>

Public Attributes

int number
 Number associated with this option. More...
 
const char * shortName
 Short name of this option. More...
 
const char * longName
 Long namen of this option. More...
 
const char * desc
 Description of this option. More...
 
ArgType argType
 Type of argument for this option. More...
 

Detailed Description

Type for specifying an array of options recognized by the Option Parser.

An array of this type has to be passed to the constructor OptsParser::OptsParser()

Member Data Documentation

ArgType Puma::OptsParser::Option::argType

Type of argument for this option.

const char* Puma::OptsParser::Option::desc

Description of this option.

const char* Puma::OptsParser::Option::longName

Long namen of this option.

int Puma::OptsParser::Option::number

Number associated with this option.

const char* Puma::OptsParser::Option::shortName

Short name of this option.

Should ideally not contain more than one character




Puma Reference Manual. Created on Fri Oct 24 2014.