OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
OPAL
Public Member Functions | Protected Attributes | Private Member Functions | List of all members
Expressions::AList< T > Class Template Reference

An array expression defined by a list of scalar expressions. More...

#include <AList.h>

Inheritance diagram for Expressions::AList< T >:
Inheritance graph
[legend]
Collaboration diagram for Expressions::AList< T >:
Collaboration graph
[legend]

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< Tevaluate () 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 bool isConstant () const
 Test for constant. More...
 

Protected Attributes

ArrayOfPtrs< TitsValue
 The vector of expressions. More...
 

Private Member Functions

void operator= (const AList &)
 

Detailed Description

template<class T>
class Expressions::AList< T >

An array expression defined by a list of scalar expressions.

Definition at line 36 of file AList.h.

Constructor & Destructor Documentation

template<class T >
Expressions::AList< T >::AList ( )

Default constructor.

Definition at line 76 of file AList.h.

template<class T >
Expressions::AList< T >::AList ( const ArrayOfPtrs< T > &  value)
explicit

Constructor.

Definition at line 89 of file AList.h.

template<class T >
Expressions::AList< T >::AList ( const AList< T > &  rhs)

Definition at line 82 of file AList.h.

template<class T >
Expressions::AList< T >::~AList ( )
virtual

Definition at line 95 of file AList.h.

Member Function Documentation

template<class T >
OArray< T > * Expressions::AList< T >::clone ( ) const
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.

template<class T >
std::vector< T > Expressions::AList< T >::evaluate ( ) const
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 T.

template<class T>
void Expressions::AList< T >::operator= ( const AList< T > &  )
private
template<class T >
void Expressions::AList< T >::print ( std::ostream &  os,
int  precedence = 99 
) const
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.

Member Data Documentation

template<class T>
ArrayOfPtrs<T> Expressions::AList< T >::itsValue
protected

The vector of expressions.

Definition at line 63 of file AList.h.


The documentation for this class was generated from the following file: