|
OpenASIP 2.2
|
#include <OptionValue.hh>


Public Member Functions | |
| UnsignedIntegerOptionValue (unsigned value) | |
| virtual | ~UnsignedIntegerOptionValue () |
| virtual unsigned | unsignedIntegerValue (int index=0) const |
| virtual void | setUnsignedIntegerValue (unsigned value) |
Public Member Functions inherited from OptionValue | |
| OptionValue () | |
| virtual | ~OptionValue () |
| virtual void | setStringValue (const std::string &) |
| virtual void | setIntegerValue (int) |
| virtual void | setRealValue (double) |
| virtual void | setBoolValue (bool) |
| virtual void | setIntegerListValue (std::vector< int > values) |
| virtual std::string | stringValue (int index=0) const |
| virtual int | integerValue (int index=0) const |
| virtual double | realValue () const |
| virtual bool | isFlagOn () const |
| virtual bool | isFlagOff () const |
| virtual int | listSize () const |
Private Member Functions | |
| UnsignedIntegerOptionValue (const UnsignedIntegerOptionValue &) | |
| Copying not allowed. | |
| UnsignedIntegerOptionValue & | operator= (const UnsignedIntegerOptionValue &) |
| Assignment not allowed. | |
Private Attributes | |
| unsigned | value_ |
| The value of option. | |
Models an option that has an unsigned integer value.
Definition at line 109 of file OptionValue.hh.
| UnsignedIntegerOptionValue::UnsignedIntegerOptionValue | ( | unsigned | value | ) |
|
virtual |
Definition at line 245 of file OptionValue.cc.
|
private |
Copying not allowed.
|
private |
Assignment not allowed.
|
virtual |
This implementation should never be called.
| WrongSubclass | Called for a wrong subclass. |
Reimplemented from OptionValue.
Definition at line 249 of file OptionValue.cc.
References value_.
|
virtual |
|
private |
The value of option.
Definition at line 123 of file OptionValue.hh.
Referenced by setUnsignedIntegerValue(), UnsignedIntegerOptionValue(), and unsignedIntegerValue().