PUMA Library Reference Manual
Puma::OptsParser::Option Struct Reference

#include <OptsParser.h>

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()

Public Attributes

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

Member Data Documentation

◆ argType

ArgType Puma::OptsParser::Option::argType

Type of argument for this option.

◆ desc

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

Description of this option.

◆ longName

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

Long name of this option.

◆ number

int Puma::OptsParser::Option::number

Number associated with this option.

◆ shortName

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

Short name of this option.

Should ideally not contain more than one character