MTasObjectContainer Class Reference

class MTasObjectContainer

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

Public Member Functions
~MTasObjectContainer()
MTasObject &AddNewObjectL()
MTasObject &AddNewObjectL(const TDesC &, const TDesC &, const TDesC &)
voidCloneL(MTasObjectContainer &)
voidSetIdL(const TDesC &)
voidSetNameL(const TDesC &)
voidSetTypeL(const TDesC &)

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 & aNameName of the object.
const TDesC & aType
const TDesC & aId

CloneL(MTasObjectContainer &)

voidCloneL(MTasObjectContainer &aContainer)[pure virtual]

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

Parameters

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

SetIdL(const TDesC &)

voidSetIdL(const TDesC &aId)[pure virtual]

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

Parameters

const TDesC & aId

SetNameL(const TDesC &)

voidSetNameL(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 & aNameName of the attribute.

SetTypeL(const TDesC &)

voidSetTypeL(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