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

Object attribute with an ``automatic'' array value. More...

#include <AAutomatic.h>

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

Public Member Functions

 AAutomatic (PtrToArray< T > expr)
 Constructor. More...
 
 AAutomatic (ArrayOfPtrs< T > expr)
 Constructor. More...
 
 AAutomatic (const AAutomatic &)
 
virtual ~AAutomatic ()
 
virtual AAutomatic< T > * clone () const
 Make a clone. More...
 
virtual std::vector< Tevaluate ()
 Evaluate. More...
 
virtual void invalidate ()
 Invalidate. More...
 
- Public Member Functions inherited from Expressions::ADeferred< T >
 ADeferred ()
 Default constructor. More...
 
 ADeferred (PtrToArray< T > expr)
 Constructor. More...
 
 ADeferred (const std::vector< T > &val)
 Constructor. More...
 
 ADeferred (ArrayOfPtrs< T > expr)
 Constructor. More...
 
 ADeferred (const ADeferred< T > &)
 
virtual ~ADeferred ()
 
virtual bool isExpression () const
 Get expression flag. More...
 
virtual void print (std::ostream &) const
 Print the attribute value. More...
 
void setComponent (int i, const PtrToScalar< T > expr)
 Set a component of the value. More...
 
- Public Member Functions inherited from Expressions::AValue< T >
 AValue ()
 Default constructor. More...
 
 AValue (const std::vector< T > &val)
 Constructor. More...
 
 AValue (const AValue &)
 
virtual ~AValue ()
 
template<>
void print (std::ostream &os) const
 Print value. More...
 
template<>
void print (std::ostream &os) const
 Print value. More...
 
template<>
void print (std::ostream &os) const
 Print value. More...
 
template<>
void print (std::ostream &os) const
 Print value. More...
 
- Public Member Functions inherited from AttributeBase
 AttributeBase ()
 
virtual ~AttributeBase ()
 
std::string getImage () const
 Convert to string. More...
 
- Public Member Functions inherited from RCObject
int addReference () const
 Increment reference count. More...
 
int removeReference () const
 Decrement the reference count. More...
 
bool isShared () const
 Test for sharing. More...
 

Private Member Functions

 AAutomatic ()
 
void operator= (const AAutomatic &)
 

Private Attributes

bool is_known
 

Additional Inherited Members

- Protected Member Functions inherited from RCObject
 RCObject ()
 Default constructor. More...
 
 RCObject (const RCObject &)
 Copy constructor. More...
 
virtual ~RCObject ()=0
 
RCObjectoperator= (const RCObject &right)
 
- Protected Attributes inherited from Expressions::ADeferred< T >
PtrToArray< TitsLaw
 The generating law for the array expression. More...
 
ArrayOfPtrs< TitsOverrides
 Overrides for single components. More...
 
- Protected Attributes inherited from Expressions::AValue< T >
std::vector< Tvalue
 The value of the attribute. More...
 

Detailed Description

template<class T>
class Expressions::AAutomatic< T >

Object attribute with an ``automatic'' array value.

Definition at line 39 of file AAutomatic.h.

Constructor & Destructor Documentation

template<class T >
Expressions::AAutomatic< T >::AAutomatic ( PtrToArray< T expr)
explicit

Constructor.

Definition at line 88 of file AAutomatic.h.

References OpalData::getInstance(), and OpalData::registerExpression().

Here is the call graph for this function:

template<class T >
Expressions::AAutomatic< T >::AAutomatic ( ArrayOfPtrs< T expr)
explicit

Constructor.

Definition at line 96 of file AAutomatic.h.

References OpalData::getInstance(), and OpalData::registerExpression().

Here is the call graph for this function:

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

Definition at line 80 of file AAutomatic.h.

References OpalData::getInstance(), and OpalData::registerExpression().

Here is the call graph for this function:

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

Definition at line 104 of file AAutomatic.h.

References OpalData::getInstance(), and OpalData::unregisterExpression().

Here is the call graph for this function:

template<class T>
Expressions::AAutomatic< T >::AAutomatic ( )
private

Member Function Documentation

template<class T >
AAutomatic< T > * Expressions::AAutomatic< T >::clone ( ) const
virtual

Make a clone.

Reimplemented from Expressions::ADeferred< T >.

Definition at line 111 of file AAutomatic.h.

template<class T >
std::vector< T > Expressions::AAutomatic< T >::evaluate ( )
virtual

Evaluate.

Reimplemented from Expressions::ADeferred< T >.

Definition at line 117 of file AAutomatic.h.

References Expressions::ADeferred< T >::evaluate().

Here is the call graph for this function:

template<class T >
void Expressions::AAutomatic< T >::invalidate ( )
virtual

Invalidate.

Reimplemented from Invalidator.

Definition at line 128 of file AAutomatic.h.

template<class T>
void Expressions::AAutomatic< T >::operator= ( const AAutomatic< T > &  )
private

Member Data Documentation

template<class T>
bool Expressions::AAutomatic< T >::is_known
mutableprivate

Definition at line 72 of file AAutomatic.h.


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