OPAL (Object Oriented Parallel Accelerator Library) 2022.1
OPAL
|
A pointer which owns the object pointed at. More...
#include <OwnPtr.h>
Public Member Functions | |
OwnPtr () | |
Default constructor. More... | |
OwnPtr (const OwnPtr &) | |
Copy constructor. More... | |
OwnPtr (Object *) | |
Constructor. More... | |
~OwnPtr () | |
Destructor. More... | |
OwnPtr & | operator= (const OwnPtr &) |
Assign. More... | |
OwnPtr & | operator= (Object *) |
Assign. More... | |
Object * | operator-> () const |
Delegation operator. More... | |
Object & | operator* () const |
Dereferencing operator. More... | |
bool | isValid () const |
Test for validity. More... | |
Object * | release () |
Release ownership. More... | |
Private Attributes | |
Object * | object |
A pointer which owns the object pointed at.
Test for validity.
Definition at line 144 of file OwnPtr.h.
Referenced by Expressions::parsePrimary().
Release ownership.
Definition at line 150 of file OwnPtr.h.
Referenced by Expressions::ASUnary< T >::make(), Expressions::SUnary< T, U >::make(), and Expressions::SBinary< T, U >::make().
Definition at line 79 of file OwnPtr.h.
Referenced by OwnPtr< Object >::operator=(), and OwnPtr< Object >::OwnPtr().