Go to the documentation of this file.
41 using std::istringstream;
434 if (index < 0 ||
static_cast<unsigned>(index) >
values_.size() - 1) {
435 string procName =
"IntegerListOptionValue::integerValue";
436 throw OutOfRange(__FILE__, __LINE__, procName);
492 if (index < 0 ||
static_cast<unsigned>(index) >
values_.size() - 1) {
493 string procName =
"StringListOptionValue::stringValue";
494 throw OutOfRange(__FILE__, __LINE__, procName);
RealOptionValue(double value)
StringOptionValue(const std::string value)
virtual void setBoolValue(bool value)
bool value_
The value of option.
virtual void setUnsignedIntegerValue(unsigned value)
int value_
The value of option.
virtual ~IntegerListOptionValue()
virtual void setStringValue(const std::string &value)
virtual void setStringValue(const std::string &)
virtual std::string stringValue(int index=0) const
std::vector< std::string > values_
The value of option.
unsigned value_
The value of option.
virtual double realValue() const
virtual void setIntegerValue(int value)
virtual void setRealValue(double)
virtual bool isFlagOff() const
virtual ~BoolOptionValue()
virtual ~IntegerOptionValue()
virtual void setRealValue(double value)
UnsignedIntegerOptionValue(unsigned value)
virtual bool isFlagOn() const
virtual int integerValue(int index=0) const
virtual ~StringListOptionValue()
virtual bool isFlagOff() const
virtual unsigned unsignedIntegerValue(int index=0) const
std::vector< int > values_
The value of option.
virtual ~StringOptionValue()
virtual void setIntegerListValue(std::vector< int > values)
virtual bool isFlagOn() const
virtual int listSize() const
virtual std::string stringValue(int index=0) const
virtual ~RealOptionValue()
virtual double realValue() const
virtual ~UnsignedIntegerOptionValue()
virtual int listSize() const
virtual void setIntegerListValue(std::vector< int > values)
IntegerOptionValue(int value)
virtual void setUnsignedIntegerValue(unsigned)
StringListOptionValue(std::vector< std::string > values)
std::string value_
The value of the option.
virtual int integerValue(int index=0) const
virtual void setIntegerValue(int)
virtual void setStringListValue(std::vector< std::string > values)
virtual void setBoolValue(bool)
double value_
The value of the option.
virtual int listSize() const
IntegerListOptionValue(std::vector< int > values)
BoolOptionValue(bool value)
virtual std::string stringValue(int index=0) const
virtual int integerValue(int index=0) const