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