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";
void set(AttributeBase *newBase)
Define new value.
Abstract base class for attribute values of different types.
virtual void parse(Attribute &, Statement &, bool) const
Parse the attribute.
A scalar constant expression.
A pointer to a scalar expression.
bool is_deferred
Defer flag.
void setComponent(int i, const PtrToScalar< T > expr)
Set a component of the value.
PtrToScalar< bool > parseBool(Statement &)
Parse boolean expression.
A representation of an Object attribute.
Interface for statements.
Abstract base class for attribute parsers.
Object attribute with a ``deferred'' array value.
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.
PtrToArray< bool > parseBoolArray(Statement &)
Parse boolean array expression.
A pointer to an array expression.
AttributeBase & getBase() const
Return reference to polymorphic value.
Object attribute with an ``automatic'' array value.