RC<> is a wrapper class around LTIReferenceCountedObject that gives the wrapped object block scoping. More...
#include <lti_referenceCountedObject.h>
Public Member Functions | |
| ~RC (void) | |
| releases the object when RC<> goes out of scope | |
| RC (void) | |
| create an object on the heap | |
| RC (TYPE *object) | |
| manage an existing object | |
| RC & | operator= (TYPE *object) |
| RC (const RC &object) | |
| RC & | operator= (const RC &object) |
| TYPE * | operator-> (void) |
| make the wrapper look like a pointer to TYPE | |
| const TYPE * | operator-> (void) const |
| TYPE & | operator* (void) |
| make the wrapper look like a pointer to TYPE | |
| const TYPE & | operator* (void) const |
| operator TYPE *& (void) | |
| make the wrapper look like a pointer to TYPE | |
| operator const TYPE *& (void) const | |
RC<TYPE> tries to look like a TYPE *.
Definition at line 100 of file lti_referenceCountedObject.h.
Definition at line 104 of file lti_referenceCountedObject.h.
References LTI_RELEASE().
Note: caller should test if it is NULL before using it.
Definition at line 111 of file lti_referenceCountedObject.h.
Note: use RC<TYPE> object(NULL) to get an empty wrapper
Definition at line 118 of file lti_referenceCountedObject.h.
Definition at line 128 of file lti_referenceCountedObject.h.
| RC< TYPE >::operator const TYPE *& | ( | void | ) | const [inline] |
Definition at line 147 of file lti_referenceCountedObject.h.
| RC< TYPE >::operator TYPE *& | ( | void | ) | [inline] |
Definition at line 146 of file lti_referenceCountedObject.h.
| const TYPE& RC< TYPE >::operator* | ( | void | ) | const [inline] |
Definition at line 143 of file lti_referenceCountedObject.h.
| TYPE& RC< TYPE >::operator* | ( | void | ) | [inline] |
Definition at line 142 of file lti_referenceCountedObject.h.
| const TYPE* RC< TYPE >::operator-> | ( | void | ) | const [inline] |
Definition at line 140 of file lti_referenceCountedObject.h.
| TYPE* RC< TYPE >::operator-> | ( | void | ) | [inline] |
Definition at line 139 of file lti_referenceCountedObject.h.
Definition at line 129 of file lti_referenceCountedObject.h.
References LTI_RELEASE(), and LTI_RETAIN().
Definition at line 119 of file lti_referenceCountedObject.h.
References LTI_RELEASE(), and LTI_RETAIN().
| LizardTech |