55 virtual std::vector<T>
evaluate()
const;
58 virtual void print(std::ostream &,
int precedence = 99)
const;
107 std::vector<T> result(
itsValue.size(), T(0));
110 result[i] =
itsValue[i]->evaluate();
120 typename ArrayOfPtrs<T>::const_iterator i =
itsValue.begin();
Representation objects and parsers for attribute expressions.
An array of pointers to 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.