55 virtual std::vector<T>
evaluate()
const;
58 virtual void print(std::ostream &,
int precedence = 99)
const;
84 itsValue(rhs.itsValue)
107 std::vector<T> result(itsValue.size(),
T(0));
110 result[i] = itsValue[i]->evaluate();
122 while(i != itsValue.end()) {
124 if(++i == itsValue.end())
break;
Representation objects and parsers for attribute expressions.
An array of pointers to scalar expressions.
An array expression defined by a list of scalar expressions.
AList()
Default constructor.
virtual OArray< T > * clone() const
Make clone.
virtual void print(std::ostream &, int precedence=99) const
Print array expression.
virtual std::vector< T > evaluate() const
Evaluate.
void operator=(const AList &)
ArrayOfPtrs< T > itsValue
The vector of expressions.