OPAL (Object Oriented Parallel Accelerator Library) 2024.2
OPAL
Expressions::PtrToArray< T > Class Template Reference

A pointer to an array expression. More...

#include <Expressions.h>

Inheritance diagram for Expressions::PtrToArray< T >:
Collaboration diagram for Expressions::PtrToArray< T >:

Public Member Functions

 PtrToArray (OArray< T > *rhs)
 Constructor from object just created.
 PtrToArray ()
 PtrToArray (const PtrToArray &rhs)
 ~PtrToArray ()
PtrToArrayoperator= (const PtrToArray< T > &)=default
OArray< T > * operator-> () const
 Delegation operator.
OArray< T > & operator* () const
 Dereferencing operator.
bool isValid () const
 Test for validity.
OArray< T > * release ()
 Release ownership.

Private Attributes

OArray< T > * object

Detailed Description

template<class T>
class Expressions::PtrToArray< T >

A pointer to an array expression.

Definition at line 179 of file AbstractObjects/Expressions.h.

Constructor & Destructor Documentation

◆ PtrToArray() [1/3]

template<class T>
Expressions::PtrToArray< T >::PtrToArray ( OArray< T > * rhs)
inline

Constructor from object just created.

Definition at line 381 of file AbstractObjects/Expressions.h.

References OwnPtr< OArray< T > >::OwnPtr().

Referenced by operator=(), and PtrToArray().

Here is the call graph for this function:

◆ PtrToArray() [2/3]

template<class T>
Expressions::PtrToArray< T >::PtrToArray ( )
inline

Definition at line 369 of file AbstractObjects/Expressions.h.

References OwnPtr< OArray< T > >::OwnPtr().

Here is the call graph for this function:

◆ PtrToArray() [3/3]

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

Definition at line 375 of file AbstractObjects/Expressions.h.

References OwnPtr< OArray< T > >::OwnPtr(), and PtrToArray().

Here is the call graph for this function:

◆ ~PtrToArray()

template<class T>
Expressions::PtrToArray< T >::~PtrToArray ( )
inline

Definition at line 387 of file AbstractObjects/Expressions.h.

Member Function Documentation

◆ isValid()

bool OwnPtr< OArray< T > >::isValid ( ) const
inlineinherited

Test for validity.

Definition at line 69 of file OwnPtr.h.

◆ operator*()

OArray< T > & OwnPtr< OArray< T > >::operator* ( ) const
inlineinherited

Dereferencing operator.

Definition at line 65 of file OwnPtr.h.

◆ operator->()

OArray< T > * OwnPtr< OArray< T > >::operator-> ( ) const
inlineinherited

Delegation operator.

Definition at line 61 of file OwnPtr.h.

◆ operator=()

template<class T>
PtrToArray & Expressions::PtrToArray< T >::operator= ( const PtrToArray< T > & )
default

References PtrToArray().

Here is the call graph for this function:

◆ release()

OArray< T > * OwnPtr< OArray< T > >::release ( )
inlineinherited

Release ownership.

Definition at line 74 of file OwnPtr.h.

Member Data Documentation

◆ object

OArray< T >* OwnPtr< OArray< T > >::object
mutableprivateinherited

Definition at line 79 of file OwnPtr.h.


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