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

Description

Definition at line 17 of file optionDeclaration.h.

#include <roseSupport/optionDeclaration.h>

Collaboration diagram for OptionDeclaration:
Collaboration graph
[legend]

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
 

Member Data Documentation

◆ optionName

std::string OptionDeclaration::optionName

This is the name of the option which is used at compile-time to associate the value with the option.

Definition at line 23 of file optionDeclaration.h.

◆ valueInteger

int OptionDeclaration::valueInteger

Definition at line 29 of file optionDeclaration.h.

◆ valueBool

bool OptionDeclaration::valueBool

Definition at line 30 of file optionDeclaration.h.

◆ valuedouble

double OptionDeclaration::valuedouble

Definition at line 31 of file optionDeclaration.h.

◆ valueString

std::string OptionDeclaration::valueString

Definition at line 32 of file optionDeclaration.h.


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