|
OPALX (Object Oriented Parallel Accelerator Library for Exascal) MINIorX
OPALX
|
An array expression defined by a list of scalar expressions. More...
#include <AList.h>
Public Member Functions | |
| AList () | |
| Default constructor. | |
| AList (const ArrayOfPtrs< T > &) | |
| Constructor. | |
| AList (const AList &) | |
| virtual | ~AList () |
| virtual OArray< T > * | clone () const |
| Make clone. | |
| virtual std::vector< T > | evaluate () const |
| Evaluate. | |
| virtual void | print (std::ostream &, int precedence=99) const |
| Print array expression. | |
| virtual bool | isConstant () const |
| Test for constant. | |
Protected Attributes | |
| ArrayOfPtrs< T > | itsValue |
| The vector of expressions. | |
Private Member Functions | |
| void | operator= (const AList &) |
An array expression defined by a list of scalar expressions.
| Expressions::AList< T >::AList | ( | ) |
Default constructor.
Definition at line 76 of file AList.h.
References itsValue.
Referenced by Expressions::ABinary< T, U >::ABinary(), AList(), Expressions::AUnary< T, U >::AUnary(), Expressions::AUnary< T, U >::AUnary(), clone(), and operator=().
|
explicit |
| Expressions::AList< T >::AList | ( | const AList< T > & | ) |
References AList(), and Expressions::OArray< T >::OArray().
|
virtual |
|
virtual |
Make clone.
Implements Expressions::OArray< T >.
Reimplemented in Expressions::ABinary< T, U >, and Expressions::AUnary< T, U >.
Definition at line 100 of file AList.h.
References AList(), and Expressions::OArray< T >::OArray().
|
virtual |
Evaluate.
Implements Expressions::OArray< T >.
Reimplemented in Expressions::ABinary< T, U >, and Expressions::AUnary< T, U >.
Definition at line 106 of file AList.h.
References itsValue.
|
inlinevirtualinherited |
Test for constant.
Definition at line 306 of file AbstractObjects/Expressions.h.
|
private |
|
virtual |
Print array expression.
Implements Expressions::OArray< T >.
Reimplemented in Expressions::ABinary< T, U >, and Expressions::AUnary< T, U >.
Definition at line 118 of file AList.h.
References itsValue.
|
protected |