#include <Option.h>
Public Member Functions | |
DecimalArrayOption & | operator= (const DecimalArrayOption &rhs) |
Assigment operator. | |
OptionValueType | getType () const |
Get type. | |
virtual string | getObjectName () const |
Get ObjectName. | |
void | setValue (const string &s) |
Set value. | |
void | setValue (const vector< Decimal > &v) |
string | getValue () const |
Get value. | |
bool | fromString () |
It computes the parsing of the string. | |
vector< Decimal > | getValueVec () |
Get value. | |
string | print () const |
Print. | |
string | printValue () const |
PrintValue. | |
Friends | |
class | Options |
The constructor takes as input a string containing Decimal with commas in the middle
If one wants to create another option with another type, just copy this class and substitute the parser (in fromString() method) and the getValueVec() method