OPAL (Object Oriented Parallel Accelerator Library) 2022.1
OPAL
|
An array expression defined by a list of scalar expressions. More...
#include <AList.h>
Public Member Functions | |
AList () | |
Default constructor. More... | |
AList (const ArrayOfPtrs< T > &) | |
Constructor. More... | |
AList (const AList &) | |
virtual | ~AList () |
virtual OArray< T > * | clone () const |
Make clone. More... | |
virtual std::vector< T > | evaluate () const |
Evaluate. More... | |
virtual void | print (std::ostream &, int precedence=99) const |
Print array expression. More... | |
Public Member Functions inherited from Expressions::OArray< T > | |
OArray () | |
OArray (const OArray &) | |
virtual | ~OArray () |
virtual OArray< T > * | clone () const =0 |
Copy expression. More... | |
virtual std::vector< T > | evaluate () const =0 |
Evaluate. More... | |
virtual bool | isConstant () const |
Test for constant. More... | |
virtual void | print (std::ostream &, int precedence=99) const =0 |
Print expression. More... | |
Protected Attributes | |
ArrayOfPtrs< T > | itsValue |
The vector of expressions. More... | |
Private Member Functions | |
void | operator= (const AList &) |
An array expression defined by a list of scalar expressions.
Expressions::AList< T >::AList |
|
explicit |
Expressions::AList< T >::AList | ( | const AList< T > & | rhs | ) |
|
virtual |
|
virtual |
Make clone.
Implements Expressions::OArray< T >.
Reimplemented in Expressions::ABinary< T, U >, and Expressions::AUnary< T, U >.
|
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 Attrib::Legacy::Distribution::T.
|
private |
|
virtual |
Print array expression.
Implements Expressions::OArray< T >.
Reimplemented in Expressions::AUnary< T, U >, and Expressions::ABinary< T, U >.
|
protected |