31 "The \"STRING CONSTANT\" statement defines a global "
33 "\tSTRING CONSTANT <name> = <String-expression>;\n") {
The global OPAL structure.
virtual bool canReplaceBy(Object *object)
Test if object can be replaced.
virtual void printValue(std::ostream &os) const
Print its value.
void create(Object *newObject)
Create new object.
void setString(Attribute &attr, const std::string &val)
Set string value.
std::vector< Attribute > itsAttr
The object attributes (see Attribute.hh).
virtual void print(std::ostream &) const
Print the constant.
StringConstant()
Exemplar constructor.
static OpalData * getInstance()
const std::string & getOpalName() const
Return object name.
void registerOwnership(const AttributeHandler::OwnerType &itsClass) const
The STRING CONSTANT definition.
virtual ~StringConstant()
virtual StringConstant * clone(const std::string &name)
Make clone.
The base class for all OPAL objects.
The base class for all OPAL value definitions.
std::string getGitRevision()
bool builtin
Built-in flag.
Attribute makeString(const std::string &name, const std::string &help)
Make string attribute.
virtual std::string getString() const
Return value.
Inform & endl(Inform &inf)
std::string getString(const Attribute &attr)
Get string value.