1 #ifndef OPAL_ValueDefinition_HH
2 #define OPAL_ValueDefinition_HH
A representation of an Object attribute.
The base class for all OPAL objects.
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.
ValueDefinition(const ValueDefinition &)
virtual std::string getStringComponent(int) const
Return indexed string value.
virtual std::string getString() const
Return string value.
const std::string itsPrefix
The declaration prefix.
void operator=(const ValueDefinition &)
virtual bool getBoolComponent(int) const
Return indexed logical value.
virtual ~ValueDefinition()
virtual bool shouldUpdate() const
Update flag.