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