40 Bool::Bool(
const std::string &name,
const std::string &help):
49 static const std::string type(
"logical");
56 if(eval || expr->isConstant()) {
Representation objects and parsers for attribute expressions.
PtrToScalar< bool > parseBool(Statement &)
Parse boolean expression.
A collection of routines to construct object Attributes and retrieve.
A representation of an Object attribute.
void set(AttributeBase *newBase)
Define new value.
bool is_deferred
Defer flag.
AttributeHandler(const std::string &name, const std::string &help, AttributeBase *def)
Constructor.
A pointer to a scalar expression.
virtual const std::string & getType() const
Return attribute type string ``logical''.
virtual void parse(Attribute &, Statement &, bool) const
Parse the attribute.
Object attribute with an ``automatic'' scalar value.
Object attribute with a ``deferred'' scalar value.
Object attribute with a constant scalar value.
Interface for statements.