Public Member Functions | Public Attributes | List of all members
OptionDeclaration Class Reference


Definition at line 17 of file optionDeclaration.h.

Collaboration diagram for OptionDeclaration:
Collaboration graph

Public Member Functions

std::string getValue ()
 get the input value.
Constructors to associate strings with values.

Constructors designed to trigger auto-promotion of constructor arguments

This mechanism depends upon autopromotion to generate a OptionDeclaration object from a string and a value.

 OptionDeclaration (std::string s, int value)
 OptionDeclaration (std::string s, double value)
 OptionDeclaration (std::string s, std::string value)

Public Attributes

std::string optionName
 This is the name of the option which is used at compile-time to associate the value with the option.
values associated with the option string
int valueInteger
bool valueBool
double valuedouble
std::string valueString

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