38 Real::Real(
const std::string& name,
const std::string& help)
44 static const std::string type(
"real");
51 if (eval || expr->isConstant()) {
Abstract base class for attribute parsers.
bool isDeferred() const
Return defer flag.
A representation of an Object attribute.
void set(AttributeBase *newBase)
Define new value.
virtual void parse(Attribute &, Statement &, bool) const
Parse the attribute.
virtual const std::string & getType() const
Return attribute type string `‘real’'.
A pointer to a scalar expression.
Object attribute with an `‘automatic’' scalar value.
Object attribute with a `‘deferred’' scalar value.
Object attribute with a constant scalar value.
Interface for statements.
A collection of routines to construct object Attributes and retrieve.
Representation objects and parsers for attribute expressions.
PtrToScalar< double > parseReal(Statement &)
Parse real expression.