RRefBase Class Reference
Public Member Functions |
---|
IMPORT_C void | Free() |
Detailed Description
Base class that provides an implementation for the templated RRef class.
See also: RRef
Member Attribute Documentation
Constructor & Destructor Documentation
RRefBase ( )
RRefBase | ( | ) | [protected, inline] |
RRefBase ( const RRefBase & )
RRefBase | ( | const RRefBase & | aRef | ) | [protected, inline] |
Parameter | Description | aRef | A reference to the object to be copied. |
Member Function Documentation
Copy ( const RRefBase & )
IMPORT_C void | Copy | ( | const RRefBase & | aRef | ) | [protected] |
Provides an implementation for the RRef class copy constructor and assignment operator.
See also: RRef
Parameter | Description | aRef | The reference object to be copied. |
DoAlloc ( const TAny *, TInt )
IMPORT_C void | DoAlloc | ( | const TAny * | aPtr, |
| TInt | aSize |
| ) | [protected] |
Creates a copy of an object, which is to be contained by this reference object.
Parameter | Description | aPtr | A pointer to memory holding a copy of the object. |
aSize | The size of the memory required to hold the object. |
DoAllocL ( const TAny *, TInt )
IMPORT_C void | DoAllocL | ( | const TAny * | aPtr, |
| TInt | aSize |
| ) | [protected] |
Creates a copy of an object, which is to be contained by this reference object, and leaves on error.
Parameter | Description | aPtr | A pointer to memory holding a copy of the object. |
aSize | The size of the memory required to hold the object. |
Free ( )
Frees the memory holding the contained object.