Original Symbian headers
Selected EUSER, Window Server, networking, graphics and device declarations
Loading...
Searching...
No Matches
RRefBase Class Reference

Base class that provides an implementation for the templated RRef class. More...

#include <e32std.h>

Inheritance diagram for RRefBase:
RRef< T >

Public Member Functions

IMPORT_C void Free ()
 Frees the memory holding the contained object.
 

Protected Member Functions

 RRefBase ()
 Default constructor.
 
 RRefBase (const RRefBase &aRef)
 Copy constructor.
 
IMPORT_C void DoAlloc (const TAny *aPtr, TInt aSize)
 Creates a copy of an object, which is to be contained by this reference object.
 
IMPORT_C void DoAllocL (const TAny *aPtr, TInt aSize)
 Creates a copy of an object, which is to be contained by this reference object, and leaves on error.
 
IMPORT_C void Copy (const RRefBase &aRef)
 Provides an implementation for the RRef class copy constructor and assignment operator.
 

Protected Attributes

TInt * iPtr
 

Detailed Description

Base class that provides an implementation for the templated RRef class.

See also
RRef
API status
Published to all clients. Released API.

Definition at line 4768 of file e32std.h.

Constructor & Destructor Documentation

◆ RRefBase() [1/2]

RRefBase::RRefBase ( )
inlineprotected

Default constructor.

(generated from Symbian Developer Library)

◆ RRefBase() [2/2]

RRefBase::RRefBase ( const RRefBase &  aRef)
inlineprotected

Copy constructor.

Parameters
aRefA reference to the object to be copied.

(generated from Symbian Developer Library)

Member Function Documentation

◆ Copy()

IMPORT_C void RRefBase::Copy ( const RRefBase &  aRef)
protected

Provides an implementation for the RRef class copy constructor and assignment operator.

RRef

Parameters
aRefThe reference object to be copied.

(generated from Symbian Developer Library)

◆ DoAlloc()

IMPORT_C void RRefBase::DoAlloc ( const TAny *  aPtr,
TInt  aSize 
)
protected

Creates a copy of an object, which is to be contained by this reference object.

Parameters
aPtrA pointer to memory holding a copy of the object.
aSizeThe size of the memory required to hold the object.

(generated from Symbian Developer Library)

◆ DoAllocL()

IMPORT_C void RRefBase::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
aPtrA pointer to memory holding a copy of the object.
aSizeThe size of the memory required to hold the object.

(generated from Symbian Developer Library)

◆ Free()

IMPORT_C void RRefBase::Free ( )

Frees the memory holding the contained object.

(generated from Symbian Developer Library)

Member Data Documentation

◆ iPtr

TInt* RRefBase::iPtr
protected

Definition at line 4781 of file e32std.h.


The documentation for this class was generated from the following files: