TXIMPObjectCloner Class Reference

class TXIMPObjectCloner

Templated object cloner.

Object type must support: NewLC(), ExternalizeL() and InternalizeL().

Since
S60 v3.2
Public Member Functions
T *CloneL(const T &)
T *CloneLC(const T &)
Private Member Functions
TXIMPObjectCloner()

Constructor & Destructor Documentation

TXIMPObjectCloner()

TXIMPObjectCloner()[private]

Member Functions Documentation

CloneL(const T &)

T *CloneL(const T &aObj)[static, inline]

Templated object clone method.

Similar to CloneLC() but object isn't left to CleanupStack.

Parameters

const T & aObjTemplated object to clone.

CloneLC(const T &)

T *CloneLC(const T &aObj)[static, inline]

Templated object clone method.

Instantiates a new object and copies data from given source object with externalize / internalize to new object. Returns new object ownership to caller.

Parameters

const T & aObjTemplated object to clone. Object type must support: NewLC(), ExternalizeL() and InternalizeL() methods.