DecimalArrayOption Class Reference
[Option]

A vector of Decimal option. More...

#include <Option.h>

Inheritance diagram for DecimalArrayOption:

GenericOption MIPObject

List of all members.

Public Member Functions

DecimalArrayOptionoperator= (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< DecimalgetValueVec ()
 Get value.
string print () const
 Print.
string printValue () const
 PrintValue.

Friends

class Options


Detailed Description

A vector of Decimal option.

Author:
Marco Cognetti
Note:
This class implements an option for a vector of Decimal. It return a string with the method getValue(); it returns a vector of Decimal with getValueVec()

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


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

Generated on Mon Feb 20 07:01:09 2017 for MIP by  doxygen 1.5.6