ACT-CV - Machine Vision for Cognitive Modeling
|
Pointer to objects of class ReferenceCount that performs garbage collection. More...
#include <garbagecoll.h>
Public Member Functions | |
GCPointer (_t *newRef=nullptr) | |
~GCPointer () | |
GCPointer (const GCPointer &gcp) | |
GCPointer & | operator= (const GCPointer &gcp) |
GCPointer & | operator= (_t *newRef) |
_t & | operator* () const |
_t * | operator-> () const |
operator bool () const | |
Private Types | |
typedef _t | reference_type |
Private Attributes | |
_t * | ref |
Pointer to objects of class ReferenceCount that performs garbage collection.
Does only work in ordered graphs. Cross references are not allowed.
Definition at line 58 of file garbagecoll.h.
|
private |
Definition at line 59 of file garbagecoll.h.
Definition at line 62 of file garbagecoll.h.
Definition at line 66 of file garbagecoll.h.
Definition at line 69 of file garbagecoll.h.
GCPointer< _t >::operator bool | ( | ) | const |
Definition at line 93 of file garbagecoll.h.
_t& GCPointer< _t >::operator* | ( | ) | const |
Definition at line 87 of file garbagecoll.h.
_t* GCPointer< _t >::operator-> | ( | ) | const |
Definition at line 90 of file garbagecoll.h.
Definition at line 73 of file garbagecoll.h.
Definition at line 80 of file garbagecoll.h.
|
private |
Definition at line 60 of file garbagecoll.h.
Referenced by GCPointer< TestCase >::GCPointer(), GCPointer< TestCase >::operator bool(), GCPointer< TestCase >::operator*(), GCPointer< TestCase >::operator->(), GCPointer< TestCase >::operator=(), and GCPointer< TestCase >::~GCPointer().