|
OPAL (Object Oriented Parallel Accelerator Library) 2024.2
OPAL
|
An array expression with one array operand. More...
#include <AUnary.h>
Public Member Functions | |
| AUnary (const TFunction1< T, U > &function, PtrToArray< U > operand) | |
| Constructor. | |
| AUnary (const AUnary< T, U > &) | |
| virtual | ~AUnary () |
| virtual OArray< T > * | clone () const |
| Make clone. | |
| virtual std::vector< T > | evaluate () const |
| Evaluate. | |
| virtual void | print (std::ostream &, int precedence=99) const |
| Print expression. | |
| virtual bool | isConstant () const |
| Test for constant. | |
Protected Attributes | |
| ArrayOfPtrs< T > | itsValue |
| The vector of expressions. | |
Private Member Functions | |
| AUnary () | |
| void | operator= (const AUnary &) |
Private Attributes | |
| const TFunction1< T, U > & | fun |
| PtrToArray< U > | opr |
An array expression with one array operand.
|
inline |
Constructor.
Definition at line 84 of file AUnary.h.
References Expressions::AList< T >::AList(), fun, and opr.
Referenced by AUnary(), clone(), and operator=().
|
inline |
|
inlinevirtual |
|
private |
|
inlinevirtual |
Make clone.
Reimplemented from Expressions::AList< T >.
Definition at line 95 of file AUnary.h.
References AUnary().
Referenced by AUnary().
|
inlinevirtual |
|
inlinevirtualinherited |
Test for constant.
Definition at line 306 of file AbstractObjects/Expressions.h.
|
private |
|
inlinevirtual |
Print expression.
Reimplemented from Expressions::AList< T >.
|
private |
|
protectedinherited |
|
private |