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):
A representation of an Object attribute.
The base class for all OPAL objects.
const std::string & getOpalName() const
Return object name.
std::vector< Attribute > itsAttr
The object attributes.
The base class for all OPAL value definitions.
virtual double getReal() const
Return real value.
virtual bool shouldTrace() const
Trace flag.
virtual bool getBool() const
Return logical value.
Attribute & value()
Return the attribute representing the value of the definition.
virtual double getRealComponent(int) const
Return indexed real value.
virtual const std::string getCategory() const
Return the object category as a string.
virtual std::string getStringComponent(int) const
Return indexed string value.
virtual std::string getString() const
Return string value.
virtual bool getBoolComponent(int) const
Return indexed logical value.
virtual ~ValueDefinition()
virtual bool shouldUpdate() const
Update flag.
The base class for all OPAL exceptions.