18 #ifndef OPAL_StringConstant_HH
19 #define OPAL_StringConstant_HH
41 virtual void print(std::ostream &)
const;
44 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 std::string getString() const
Return value.
virtual StringConstant * clone(const std::string &name)
Make clone.
virtual void print(std::ostream &) const
Print the constant.
virtual ~StringConstant()
void operator=(const StringConstant &)
StringConstant()
Exemplar constructor.
virtual void printValue(std::ostream &os) const
Print its value.
StringConstant(const StringConstant &)
virtual bool canReplaceBy(Object *object)
Test if object can be replaced.