OPAL (Object Oriented Parallel Accelerator Library)
2021.1.99
OPAL
|
Reference-counted pointer. More...
#include <Pointer.h>
Public Member Functions | |
Pointer () | |
Default constructor. More... | |
Pointer (const Pointer &) | |
Copy constructor. More... | |
Pointer (Object *) | |
Constructor. More... | |
~Pointer () | |
Destructor. More... | |
Pointer & | operator= (const Pointer &) |
Assign. More... | |
Pointer & | operator= (Object *) |
Assign. More... | |
Object * | operator-> () const |
Delegation operator. More... | |
Object & | operator* () const |
Dereferencing operator. More... | |
bool | operator== (const Pointer &) const |
Pointer equality. More... | |
bool | operator!= (const Pointer &) const |
Pointer inequality. More... | |
bool | isValid () const |
Test for validity. More... | |
void | unique () |
Force unique. More... | |
Private Attributes | |
Object * | object |
Reference-counted pointer.
Test for validity.
Definition at line 172 of file Pointer.h.
Referenced by AttributeHandler::getDefault(), and Line::parseList().
|
inline |
Assign.
Definition at line 125 of file Pointer.h.
References RCObject::addReference(), and Pointer< Object >::object.
Assign.
Definition at line 137 of file Pointer.h.
References RCObject::addReference().
Force unique.
Definition at line 178 of file Pointer.h.
References RCObject::addReference().
Definition at line 91 of file Pointer.h.
Referenced by Pointer< Object >::operator!=(), Pointer< Object >::operator=(), and Pointer< Object >::operator==().