37 RealArray::RealArray(
const std::string &
name,
const std::string &help):
47 static std::string
type =
"real array";
Representation objects and parsers for attribute expressions.
PtrToScalar< double > parseReal(Statement &)
Parse real expression.
PtrToArray< double > parseRealArray(Statement &)
Parse real 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 an array expression.
virtual const std::string & getType() const
Return attribute type string `‘real 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.