#include <OptionValue.hh>
OptionValue that has a string as a value.
Definition at line 133 of file OptionValue.hh.
◆ StringOptionValue() [1/2]
StringOptionValue::StringOptionValue |
( |
const std::string |
value | ) |
|
Constructor.
- Parameters
-
value | The value of string option. |
Definition at line 267 of file OptionValue.cc.
References value_.
◆ ~StringOptionValue()
StringOptionValue::~StringOptionValue |
( |
| ) |
|
|
virtual |
◆ StringOptionValue() [2/2]
◆ operator=()
◆ setStringValue()
void StringOptionValue::setStringValue |
( |
const std::string & |
value | ) |
|
|
virtual |
Sets new value for string option.
- Parameters
-
value | New value for the string option. |
- Exceptions
-
Reimplemented from OptionValue.
Definition at line 284 of file OptionValue.cc.
References value_.
◆ stringValue()
string StringOptionValue::stringValue |
( |
int |
index = 0 | ) |
const |
|
virtual |
Returns the value of string option.
- Returns
- The value of string option.
- Exceptions
-
Reimplemented from OptionValue.
Definition at line 296 of file OptionValue.cc.
References value_.
◆ value_
std::string StringOptionValue::value_ |
|
private |
The documentation for this class was generated from the following files: