MTasObjectContainer Class Reference

class MTasObjectContainer

The container can represent an application for instance that contains the objects.

Constructor & Destructor Documentation

~MTasObjectContainer()

~MTasObjectContainer ( ) [inline, virtual]

Destructor for MTasObjectContainer Needs to be defined here in case some implementations use arrays to avoid user 42 panic.

Member Functions Documentation

AddNewObjectL()

MTasObject & AddNewObjectL ( ) [pure virtual]

Add new object to the container.

AddNewObjectL(const TDesC &, const TDesC &, const TDesC &)

MTasObject & AddNewObjectL ( const TDesC & aName,
const TDesC & aType,
const TDesC & aId
) [pure virtual]

Add new object to the container. The container can represent an application for instance that contains the objects.

Parameters

const TDesC & aName Name of the object.
const TDesC & aType
const TDesC & aId

CloneL(MTasObjectContainer &)

void CloneL ( MTasObjectContainer & aContainer ) [pure virtual]

Deep copy the data from the given container to this container.

Parameters

MTasObjectContainer & aContainer Data from the given container will be deep copied into this container.

SetIdL(const TDesC &)

void SetIdL ( const TDesC & aId ) [pure virtual]

Set an id for the attribute. Used to identify objects.

Parameters

const TDesC & aId

SetNameL(const TDesC &)

void SetNameL ( const TDesC & aName ) [pure virtual]

Set the name of the attribute. A new copy of the given descriptor is made. The value is copied simply to avoid a scenario where the data model would remove a buffer which would still be needed by the calling component.

Parameters

const TDesC & aName Name of the attribute.

SetTypeL(const TDesC &)

void SetTypeL ( const TDesC & aName ) [pure virtual]

Set the type of the attribute. A new copy of the given descriptor is made. The value is copied simply to avoid a scenario where the data model would remove a buffer which would still be needed by the calling component.

Parameters

const TDesC & aName