30 using namespace Expressions;
38 namespace Attributes {
40 Real::Real(
const std::string &
name,
const std::string &help):
50 static const std::string
type(
"real");
58 if(eval || expr->isConstant()) {
virtual const std::string & getType() const
Return attribute type string ``real''.
Abstract base class for attribute parsers.
void set(AttributeBase *newBase)
Define new value.
Object attribute with a ``deferred'' scalar value.
bool isDeferred() const
Return defer flag.
Inform & endl(Inform &inf)
Object attribute with a constant scalar value.
Interface for statements.
Object attribute with an ``automatic'' scalar value.
virtual void parse(Attribute &, Statement &, bool) const
Parse the attribute.
A representation of an Object attribute.
PtrToScalar< double > parseReal(Statement &)
Parse real expression.