CTagCommandConverter Class Reference
class CTagCommandConverter : public CBase
|
Converts VCommands into tags and vise veraa
Member Functions Documentation
CommandToTagLC(const CVCommand &, const MNssContext &, MNssTagMgr &)
Constructs a new VAS tag from a command and a context. Does not save to VAS, just creates. Created tag stores the streamed VCommand in its RRDText array. The tag's rrd int array of the created tag is empty
Constructs a new VAS tag from a command and a context. Does not save to VAS, just creates. Created tag stores the streamed VCommand in its RRDText array. The tag's rrd int array is empty
CommandToTagsLC2(const CVCommand &, const MNssContext &, MNssTagMgr &)
Constructs new VAS tags from a command and a context. Does not save to VAS, just creates. At the end of this function two items are pushed to the cleanup stack. The first PopAndDestroy will ResetAndDestroy the generated tags, the second one will delete the
CArrayPtr
itself
TagToCommandLC(const MNssTag &)
CStoredVCommand
*
|
TagToCommandLC
|
(
|
const
MNssTag
&
|
aTag
|
)
|
[static]
|
Converts given tag to the
CStoredVCommand
-
leave
-
KErrTotalLossOfPrecision if the aTag's intArray is empty
Converts given tag to the VCommand
-
leave
-
KErrTotalLossOfPrecision if the aTag's intArray is empty
TagsToCommandLC(const CArrayPtr< MNssTag > &)
CStoredVCommand
*
|
TagsToCommandLC
|
(
|
const
CArrayPtr
<
MNssTag
> &
|
aTags
|
)
|
[static]
|
Converts given tags to the VCommand. These tags must have been generated from a single VCommand (via CommandToTagsLC2 )
-
leave
-
KErrOverflow if given array has more, than two elements
-
leave
-
KErrUnderflow if given array is empty
-
leave
-
KErrArgument if given tags correspond to the different VCommands
Converts given tags to the VCommand. This tags must have been generated from a single VCommand (via CommandToTagsLC2 )
-
leave
-
KErrOverflow if given array has more, than two elements
-
leave
-
KErrUnderflow if given array is empty
-
leave
-
KErrArgument if given tags correspond to the different VCommands
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.