49 "You cannot get a logical value from \"" +
56 "You cannot get an indexed logical value from \"" +
63 "You cannot get a real value from \"" +
70 "You cannot get an indexed real value from \"" +
77 "You cannot get a string value from \"" +
84 "You cannot get an indexed string value from \"" +
100 (
int size,
const char *
name,
const char *help):
virtual bool getBoolComponent(int) const
Return indexed logical value.
The base class for all OPAL exceptions.
Attribute & value()
Return the attribute representing the value of the definition.
virtual std::string getStringComponent(int) const
Return indexed string value.
std::vector< Attribute > itsAttr
The object attributes (see Attribute.hh).
virtual const std::string getCategory() const
Return the object category as a string.
virtual ~ValueDefinition()
virtual bool getBool() const
Return logical value.
virtual double getReal() const
Return real value.
const std::string & getOpalName() const
Return object name.
A representation of an Object attribute.
The base class for all OPAL objects.
The base class for all OPAL value definitions.
virtual bool shouldUpdate() const
Update flag.
virtual bool shouldTrace() const
Trace flag.
virtual double getRealComponent(int) const
Return indexed real value.
virtual std::string getString() const
Return string value.