40 Bool::Bool(
const std::string &
name,
const std::string &help):
49 static const std::string
type(
"logical");
56 if(eval || expr->isConstant()) {
Inform & endl(Inform &inf)
Representation objects and parsers for attribute expressions.
PtrToScalar< bool > parseBool(Statement &)
Parse boolean expression.
A collection of routines to construct object Attributes and retrieve.
boost::function< boost::tuple< double, bool >arguments_t)> type
A representation of an Object attribute.
void set(AttributeBase *newBase)
Define new value.
Abstract base class for attribute parsers.
bool is_deferred
Defer flag.
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.
Interface for statements.
Object attribute with an `‘automatic’' scalar value.
Object attribute with a `‘deferred’' scalar value.
Object attribute with a constant scalar value.