#include <refcount.hpp>
Inheritance diagram for GenericReference< Tp >:


This template implements some common methods to deal with garbage collecting pointers invented above.
Definition at line 146 of file refcount.hpp.
Public Member Functions | |
| GenericReference () | |
| Creates NULL reference. | |
| GenericReference (const Tp *tp) | |
| Creates a reference from a plain pointer. | |
| GenericReference (const GenericReference &other) | |
| Copy constructor. | |
| ~GenericReference () | |
| Destructor. | |
| GenericReference & | operator= (Tp *tp) |
| Assignment. | |
| GenericReference & | operator= (const GenericReference &other) |
| Assignment. | |
| Tp * | GetPtr () const |
| Get a plain pointer. | |
| Tp * | operator-> () const |
| Field/method selection. | |
| Tp & | operator * () const |
| Dereference. | |
|
|||||||||
|
Creates NULL reference.
Definition at line 149 of file refcount.hpp. |
|
||||||||||
|
Creates a reference from a plain pointer.
Definition at line 151 of file refcount.hpp. |
|
||||||||||
|
Copy constructor.
Definition at line 153 of file refcount.hpp. |
|
|||||||||
|
Destructor.
Definition at line 156 of file refcount.hpp. |
|
||||||||||
|
Assignment.
Reimplemented in SReference. Definition at line 159 of file refcount.hpp. Referenced by SReference::operator=(). |
|
||||||||||
|
Assignment.
Definition at line 165 of file refcount.hpp. |
|
|||||||||
|
|||||||||
|
|||||||||
1.4.1