40 Real::Real(
const std::string &name,
const std::string &help):
50 static const std::string type(
"real");
Inform & endl(Inform &inf)
Representation objects and parsers for attribute expressions.
PtrToScalar< double > parseReal(Statement &)
Parse real expression.
A collection of routines to construct object Attributes and retrieve.
A representation of an Object attribute.
void set(AttributeBase *newBase)
Define new value.
Abstract base class for attribute parsers.
bool isDeferred() const
Return defer flag.
virtual T evaluate() const =0
Evaluate.
virtual bool isConstant() const
Test for constant.
virtual void parse(Attribute &, Statement &, bool) const
Parse the attribute.
virtual const std::string & getType() const
Return attribute type string `‘real’'.
Object attribute with an `‘automatic’' scalar value.
Object attribute with a `‘deferred’' scalar value.
Object attribute with a constant scalar value.
Interface for statements.