OPAL (Object Oriented Parallel Accelerator Library) 2022.1
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< T > evaluate ()
 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 ADeferred< T > * clone () const
 Make clone. More...
 
virtual std::vector< T > evaluate ()
 Evaluate. More...
 
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 ()
 
virtual AValueclone () const
 Make clone. More...
 
virtual std::vector< T > evaluate ()
 Evaluate. More...
 
virtual void print (std::ostream &) const
 Print the attribute value. More...
 
void print (std::ostream &os) const
 Print value. More...
 
void print (std::ostream &os) const
 Print value. More...
 
void print (std::ostream &os) const
 Print value. More...
 
void print (std::ostream &os) const
 Print value. More...
 
- Public Member Functions inherited from AttributeBase
 AttributeBase ()
 
virtual ~AttributeBase ()
 
virtual AttributeBaseclone () const =0
 Make clone. More...
 
std::string getImage () const
 Convert to string. More...
 
virtual bool isExpression () const
 Test for expression. More...
 
virtual void print (std::ostream &) const =0
 Print value. 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...
 
virtual void invalidate ()
 Force re-evaluation. 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< T > itsLaw
 The generating law for the array expression. More...
 
ArrayOfPtrs< T > itsOverrides
 Overrides for single components. More...
 
- Protected Attributes inherited from Expressions::AValue< T >
std::vector< T > value
 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

◆ AAutomatic() [1/4]

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:

◆ AAutomatic() [2/4]

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:

◆ AAutomatic() [3/4]

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:

◆ ~AAutomatic()

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:

◆ AAutomatic() [4/4]

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

Member Function Documentation

◆ clone()

template<class T >
AAutomatic< T > * Expressions::AAutomatic< T >::clone
virtual

Make a clone.

Reimplemented from Expressions::ADeferred< T >.

Definition at line 111 of file AAutomatic.h.

◆ evaluate()

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:

◆ invalidate()

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

Invalidate.

Reimplemented from Invalidator.

Definition at line 128 of file AAutomatic.h.

◆ operator=()

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

Member Data Documentation

◆ is_known

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: