PUMA Library Reference Manual
Loading...
Searching...
No Matches
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.
 
const char * shortName
 Short name of this option.
 
const char * longName
 Long name of this option.
 
const char * desc
 Description of this option.
 
ArgType argType
 Type of argument for this option.
 

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