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