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_C CGECODefaultObjectFactory ( ) [protected]

C++ default constructor.

~CGECODefaultObjectFactory()

~CGECODefaultObjectFactory ( ) [virtual]

Member Functions Documentation

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

IMPORT_C void AttributeDetailsL ( const TInt aIndex,
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 void AttributeDetailsL ( const TInt aIndex,
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()

void ConstructL ( ) [private]

2nd phase constructor

GetContentObjectAndSetContextL(const TDesC &)

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

Get object parser

Parameters

const TDesC & aTypeIdentifier Object type identifier

HasTextData()

IMPORT_C TBool HasTextData ( ) [virtual]

From MGECOAttributeProvider . Returns ETrue if object has text data

InitializeObjectL(MGECOAttributeProvider &)

IMPORT_C void InitializeObjectL ( MGECOAttributeProvider & aAttributeProvider ) [virtual]

Initializes the current object with attribute provider data

Parameters

MGECOAttributeProvider & aAttributeProvider Attribute provider for data initialization

NewL()

IMPORT_C CGECODefaultObjectFactory * NewL ( ) [static]

/* Two-phased constructor

NumAttributes()

IMPORT_C TInt NumAttributes ( ) [virtual]

From MGECOAttributeProvider . Returns number of attributes

SetContext(CGECOObjectBase *)

IMPORT_C TInt SetContext ( CGECOObjectBase * aContext ) [virtual]

Set context object for initialize and preparesave operations

Parameters

CGECOObjectBase * aContext Object to use in InitializeL operations

TextDetailsL(TPtrC &, TBool &)

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

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

Parameters

TPtrC & aText
TBool & aIsLocalized