CGECODefaultObjectFactory Class Reference

class CGECODefaultObjectFactory : public CGECOObjectFactoryBase

Generic content object factory. All object factories derive from this class.

XCFW.lib
Since
Series 60 3.1

Inherits from

Constructor & Destructor Documentation

CGECODefaultObjectFactory()

IMPORT_CCGECODefaultObjectFactory()[protected]

C++ default constructor.

~CGECODefaultObjectFactory()

~CGECODefaultObjectFactory()[virtual]

Member Functions Documentation

AttributeDetailsL(const TInt, TPtrC &, TPtrC &, TBool &)

IMPORT_C voidAttributeDetailsL(const TIntaIndex,
TPtrC &aAttrName,
TPtrC &aAttrValue,
TBool &aIsLocalized
)[virtual]

From MGECOAttributeProvider. Returns name, value and localization status for attribute in given index.

Parameters

const TInt aIndex
TPtrC & aAttrName
TPtrC & aAttrValue
TBool & aIsLocalized

AttributeDetailsL(const TInt, TPtrC &, TPtrC &)

IMPORT_C voidAttributeDetailsL(const TIntaIndex,
TPtrC &aAttrName,
TPtrC &aAttrValue
)[virtual]

From MGECOAttributeProvider. Returns name and value for attribute in given index.

Parameters

const TInt aIndex
TPtrC & aAttrName
TPtrC & aAttrValue

ConstructL()

voidConstructL()[private]

2nd phase constructor

GetContentObjectAndSetContextL(const TDesC &)

IMPORT_C CGECOObjectBase *GetContentObjectAndSetContextL(const TDesC &aTypeIdentifier)[virtual]

Get object parser

Parameters

const TDesC & aTypeIdentifierObject type identifier

HasTextData()

IMPORT_C TBoolHasTextData()[virtual]

From MGECOAttributeProvider. Returns ETrue if object has text data

InitializeObjectL(MGECOAttributeProvider &)

IMPORT_C voidInitializeObjectL(MGECOAttributeProvider &aAttributeProvider)[virtual]

Initializes the current object with attribute provider data

Parameters

MGECOAttributeProvider & aAttributeProviderAttribute provider for data initialization

NewL()

IMPORT_C CGECODefaultObjectFactory *NewL()[static]

/* Two-phased constructor

NumAttributes()

IMPORT_C TIntNumAttributes()[virtual]

From MGECOAttributeProvider. Returns number of attributes

SetContext(CGECOObjectBase *)

IMPORT_C TIntSetContext(CGECOObjectBase *aContext)[virtual]

Set context object for initialize and preparesave operations

Parameters

CGECOObjectBase * aContextObject to use in InitializeL operations

TextDetailsL(TPtrC &, TBool &)

IMPORT_C voidTextDetailsL(TPtrC &aText,
TBool &aIsLocalized
)[virtual]

From MGECOAttributeProvider. Returns node / data object text data and localization status

Parameters

TPtrC & aText
TBool & aIsLocalized