18#ifndef OPAL_RealConstant_HH
19#define OPAL_RealConstant_HH
44 virtual void print(std::ostream &)
const;
47 virtual void printValue(std::ostream &os)
const;
The base class for all OPAL objects.
The base class for all OPAL value definitions.
Attribute & value()
Return the attribute representing the value of the definition.
virtual void print(std::ostream &) const
Print the constant.
RealConstant()
Exemplar constructor.
virtual double getReal() const
Return value.
virtual void printValue(std::ostream &os) const
Print its value.
virtual bool canReplaceBy(Object *object)
Test if object can be replaced.
virtual RealConstant * clone(const std::string &name)
Make clone.
RealConstant(const RealConstant &)
void operator=(const RealConstant &)