class TXIMPObjectCloner |
Templated object cloner.
Object type must support: NewLC(), ExternalizeL() and InternalizeL().
Public Member Functions | |
---|---|
T * | CloneL(const T &) |
T * | CloneLC(const T &) |
Private Member Functions | |
---|---|
TXIMPObjectCloner() |
T * | CloneL | ( | const T & | aObj | ) | [static, inline] |
Templated object clone method.
Similar to CloneLC() but object isn't left to CleanupStack.
const T & aObj | Templated object to clone. |
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.
const T & aObj | Templated object to clone. Object type must support: NewLC(), ExternalizeL() and InternalizeL() methods. |
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.