|
OPALX (Object Oriented Parallel Accelerator Library for Exascale) MINIorX
OPALX
|
A scalar expression with one array operand. More...
#include <ASUnary.h>


Public Member Functions | |
| ASUnary (const TFunction1< T, const std::vector< T > & > &function, PtrToArray< T > &oper) | |
| Constructor. More... | |
| ASUnary (const ASUnary< T > &) | |
| virtual | ~ASUnary () |
| virtual Scalar< T > * | clone () const |
| Make clone. More... | |
| virtual T | evaluate () const |
| Evaluate expression. More... | |
| virtual void | print (std::ostream &, int precedence=99) const |
| Print expression. More... | |
| virtual bool | isConstant () const |
| Test for constant. More... | |
Static Public Member Functions | |
| static PtrToScalar< T > | make (const TFunction1< T, const std::vector< T > & > &function, PtrToArray< T > &oper) |
| Make new expression. More... | |
Private Member Functions | |
| ASUnary () | |
| void | operator= (const ASUnary &) |
Private Attributes | |
| const TFunction1< T, const std::vector< T > & > & | fun |
| PtrToArray< T > | opr |
A scalar expression with one array operand.
|
inline |
|
inline |
|
inlinevirtual |
|
private |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtualinherited |
Test for constant.
Reimplemented in Expressions::SConstant< T >.
Definition at line 282 of file AbstractObjects/Expressions.h.
Referenced by Expressions::SUnary< T, U >::make(), Expressions::SBinary< T, U >::make(), and Attributes::Real::parse().
|
inlinestatic |
Make new expression.
Definition at line 137 of file ASUnary.h.
References OwnPtr< Object >::release().

|
private |
|
inlinevirtual |
|
private |
|
private |