#include <GCPtr.hxx>
Public Member Functions | |
| GCPtr () | |
| GCPtr (const GCPtr &other) | |
| template<typename T2> | |
| GCPtr (const GCPtr< T2 > &other) | |
| Copy constructor for GCPtrs to derived classes. | |
| GCPtr (T *obPtr) | |
| ~GCPtr () | |
| GCPtr & | operator= (const GCPtr &p) |
| Default assignment operator. | |
| template<typename T2> | |
| GCPtr & | operator= (const GCPtr< T2 > &p) |
| Pointer coersion assignment operator. | |
| template<typename T2> | |
| GCPtr & | operator= (T2 *p) |
| Assignment from suitable raw pointer. | |
| template<typename T2> | |
| GCPtr< T2 > | upcast () |
| T * | operator-> () const |
| T & | operator * () const |
| bool | operator== (const GCPtr &other) |
| operator int BoolConversionSupport::* () const | |
| Sleazy support for if(GCPtr). | |
| unsigned long | value () |
Classes | |
| struct | BoolConversionSupport |
GCPtr is a reference-counting pointer implementation. It can only be used to point to objects derived from Countable.
Definition at line 144 of file GCPtr.hxx.
|
|||||||||
|
|
|
||||||||||
|
|
|
||||||||||||||
|
Copy constructor for GCPtrs to derived classes.
|
|
||||||||||
|
|
|
|||||||||
|
|
|
|||||||||
|
|
|
|||||||||
|
Sleazy support for if(GCPtr).
|
|
|||||||||
|
|
|
||||||||||||||
|
Assignment from suitable raw pointer.
|
|
||||||||||||||
|
Pointer coersion assignment operator. This one gets triggered when you do an assignment of a derived class GCPtr to a base class GCPtr. Curiously, it doesn't seem to conflict with the default assignment operator above. |
|
||||||||||
|
Default assignment operator. Curiously, this doesn't conflict with the templated version below, which I do not understand. |
|
||||||||||
|
|
|
|||||||||||||
|
Definition at line 230 of file GCPtr.hxx. Referenced by ApplyDelta(), FSRepos::Connect(), Repository::GetChange(), Repository::GetEntity(), ObStoreFS::GetMutable(), PendingChange::PendingChange(), FSRepos::RebindUser(), Repository::recursiveUserInGroup(), FSRepos::ReviseEntityDelta(), and Repository::validateSignature(). |
|
|||||||||
|
|
1.4.6