37 BoolArray::BoolArray(
const std::string &
name,
const std::string &help):
47 static std::string
type =
"logical array";
Representation objects and parsers for attribute expressions.
PtrToScalar< bool > parseBool(Statement &)
Parse boolean expression.
PtrToArray< bool > parseBoolArray(Statement &)
Parse boolean array 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.
AttributeBase & getBase() const
Return reference to polymorphic value.
void set(AttributeBase *newBase)
Define new value.
Abstract base class for attribute values of different types.
Abstract base class for attribute parsers.
bool is_deferred
Defer flag.
A pointer to a scalar expression.
A pointer to an array expression.
virtual const std::string & getType() const
Return attribute type string `‘logical array’'.
virtual void parseComponent(Attribute &, Statement &, bool, int) const
Parse a component of the array.
virtual void parse(Attribute &, Statement &, bool) const
Parse the attribute.
Interface for statements.
Object attribute with an `‘automatic’' array value.
Object attribute with a `‘deferred’' array value.
void setComponent(int i, const PtrToScalar< T > expr)
Set a component of the value.
A scalar constant expression.