RRefBase Class Reference
Base class that provides an implementation for the templated RRef class.
RRef
Public Member Functions |
---|
IMPORT_C void | Free() |
Constructor & Destructor Documentation
RRefBase()
RRefBase | ( | ) | [protected, inline] |
RRefBase(const RRefBase &)
RRefBase | ( | const RRefBase & | aRef | ) | [protected, inline] |
Parameters
const RRefBase & aRef | A reference to the object to be copied. |
Member Functions Documentation
Copy(const RRefBase &)
IMPORT_C void | Copy | ( | const RRefBase & | aRef | ) | [protected] |
Provides an implementation for the RRef class copy constructor and assignment operator.
RRef
Parameters
const RRefBase & 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.
Parameters
const TAny * aPtr | A pointer to memory holding a copy of the object. |
TInt 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.
Parameters
const TAny * aPtr | A pointer to memory holding a copy of the object. |
TInt aSize | The size of the memory required to hold the object. |
Free()
Frees the memory holding the contained object.
operator=(const RRefBase &)
IMPORT_C void | operator= | ( | const RRefBase & | aRef | ) | [private] |
Member Data Documentation
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.