CNSmlDmMgmtTree Class Reference
class CNSmlDmMgmtTree : public CBase
|
Constructor & Destructor Documentation
CNSmlDmMgmtTree()
CNSmlDmMgmtTree
|
(
|
)
|
[private]
|
~CNSmlDmMgmtTree()
~CNSmlDmMgmtTree
|
(
|
)
|
[virtual]
|
Member Functions Documentation
AddChildObjectL(const TDesC8 &)
Adds child object with name under th root node. This is inherited from
MSmlDmDDFObject
.
Parameters
const
TDesC8
& aNodeName
|
Node name
|
AddDFTypeMimeTypeL(const TDesC8 &)
void
|
AddDFTypeMimeTypeL
|
(
|
const
TDesC8
&
|
aMimeType
|
)
|
|
Parameters
const
TDesC8
& aMimeType
|
Mime type
|
ConstructL()
void
|
ConstructL
|
(
|
)
|
[private]
|
FindLoadedAdaptersL(RArray< TUint32 > &, CNSmlDmNodeList *)
Finds the allrady loaded adapters
Parameters
RArray
<
TUint32
> & aLoadedAdapters
|
Arrayf of found adapter ids
|
CNSmlDmNodeList
* aNodeListPtr = NULL
|
Algorythm is recursive and next level nodelist pointer is provided here
|
FindNameFromNodeListL(const TDesC8 &, CNSmlDmNodeList *&)
Finds the node pointed by aURI from tree
GenerateWBXMLL(RWriteStream &)
Generates wbxml of the whole DDF and writes it to aStream
Parameters
RWriteStream
& aStream
|
Reference to stream where to write generated wbxml
|
GenerateXMLL(CBufBase &)
IMPORT_C void
|
GenerateXMLL
|
(
|
CBufBase
&
|
aObject
|
)
|
|
Generates xml of the whole DDF and writes it to aObject
Parameters
CBufBase
& aObject
|
Reference to buffer where to write generated xml
|
NodeListPtr()
Returns pointer to actual root nodelist pointer. The whole tree can be accessed through this pointer Root nodelist pointer
ParseWBXMLL(RReadStream &)
Parses wbxml from stream to ddf structure. This is used when ddf subtree is got from hostserver. The ddf is parsed on the existing tree, i.e the whole tree is got when all subtrees are parsed.
Parameters
RReadStream
& aReader
|
Reference to stream where to read wbxml
|
SetAccessTypesL(TSmlDmAccessTypes)
SetAdapterUid(TUint32)
IMPORT_C void
|
SetAdapterUid
|
(
|
TUint32
|
aUid
|
)
|
|
Looks through the ddf tree and sets the adapter id to new static nodes
SetAsObjectGroup()
void
|
SetAsObjectGroup
|
(
|
)
|
|
SetDFFormatL(TDFFormat)
void
|
SetDFFormatL
|
(
|
TDFFormat
|
aFormat
|
)
|
|
SetDFTitleL(const TDesC8 &)
void
|
SetDFTitleL
|
(
|
const
TDesC8
&
|
aTitle
|
)
|
|
SetDefaultValueL(const TDesC8 &)
void
|
SetDefaultValueL
|
(
|
const
TDesC8
&
|
aDefaultValue
|
)
|
|
Parameters
const
TDesC8
& aDefaultValue
|
Default value
|
SetDescriptionL(const TDesC8 &)
void
|
SetDescriptionL
|
(
|
const
TDesC8
&
|
aDescription
|
)
|
|
Parameters
const
TDesC8
& aDescription
|
Description
|
SetOccurenceL(TOccurence)
void
|
SetOccurenceL
|
(
|
TOccurence
|
aOccurence
|
)
|
|
Parameters
TOccurence aOccurence
|
Occurence
|
SetScopeL(TScope)
void
|
SetScopeL
|
(
|
TScope
|
aScope
|
)
|
|
SetServerId(TUint8)
IMPORT_C void
|
SetServerId
|
(
|
TUint8
|
aServerId
|
)
|
|
Looks through the ddf tree and sets the session id to new static nodes
Parameters
TUint8
aServerId
|
Id of the session to correct host server
|
SetServerIdToNewItems(CNSmlDmNodeList *, TUint8)
Looks through the ddf tree and sets the session id to new static nodes
Parameters
CNSmlDmNodeList
* aNodeListPtr
|
Algorythm is recursive and next level nodelist pointer is provided here
|
TUint8
aServerId
|
Id of the session to correct host server
|
SetUidToNewItems(CNSmlDmNodeList *, TUint32)
Looks through the ddf tree and sets the adapter id to new static nodes
Parameters
CNSmlDmNodeList
* aNodeListPtr
|
Algorythm is recursive and next level nodelist pointer is provided here
|
TUint32
aUid
|
Adapter id
|
Member Data Documentation
CNSmlDmNodeList * iNodeListPtr
Pointer to root node list pointer
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.