CNssTag Class Reference

class CNssTag : public CBase
CNssTag is the implementation class for MNssTag interface. It encapsulates tag data. A tag cannot be directly created by a client. A client has to own an instance of Tag Manager which has methods for creating tag objects. The CNssTag class also provides additional members for internal use by VAS. NssVASApi.lib
Since
2.8

Inherits from

Constructor & Destructor Documentation

CNssTag(CNssContext *, CNssRRD *, CNssSpeechItem *)

CNssTag ( CNssContext * aContext,
CNssRRD * aRRD,
CNssSpeechItem * aSpeechItem
)

C++ constructor.

Parameters

CNssContext * aContext - pointer to a previously created context
CNssRRD * aRRD - pointer to a previously created rrd
CNssSpeechItem * aSpeechItem - pointer to a previously created speech item

CNssTag()

CNssTag ( ) [private]

Constructor used in two-phased construction

~CNssTag()

~CNssTag ( )

Destructor.

Member Functions Documentation

ConstructL()

void ConstructL ( ) [private]

Two-phase construction

Context()

MNssContext * Context ( )
Get the context for this tag.
Since
2.0

CopyL()

CNssTag * CopyL ( )
Creates a copy of the tag object and returns a pointer to the newly created tag. CopyL creates a new rrd object and a new speech item for the new tag. CopyL uses the same context object from the source tag into the new tag. A client calling calling this method takes the responsibility of deleting the new tag object. For internal use by by VAS components.
Since
2.0

NewL()

CNssTag * NewL ( ) [static]

Two-phased constructor. Creates an empty tag object for internal use.

NewLC()

CNssTag * NewLC ( ) [static]

Two-phased constructor. Creates an empty tag object for internal use.

RRD()

MNssRRD * RRD ( )
Get the RRD for this tag.
Since
2.0

SetTagId(TInt)

void SetTagId ( TInt aId )
Set the Tag Id for this tag.
Since
2.0

Parameters

TInt aId - id for this tag

SpeechItem()

MNssSpeechItem * SpeechItem ( )
Get the Speech Item for this tag.
Since
2.0

TagId()

TInt TagId ( )
Get the Tag Id for this tag.
Since
2.0

Member Data Documentation

CNssContext * iContext

CNssContext * iContext [private]

CNssRRD * iRRD

CNssRRD * iRRD [private]

CNssSpeechItem * iSpeechItem

CNssSpeechItem * iSpeechItem [private]

TInt iTagId

TInt iTagId [private]