Alf::MulDataPath Class Reference
MulDataPath represent hierarchy in data model. It stores index of node for each depth.
Private Attributes |
---|
std::auto_ptr< MulDataPathImpl > | mData |
Constructor & Destructor Documentation
MulDataPath()
Default constructor
By default path will point to root node.
MulDataPath(int)
OSN_IMPORT | MulDataPath | ( | int | aIndexForDepth1 | ) | |
Constrctor will create path with depth 1 and store specified index at depth1
Parameters
int aIndexForDepth1 | Index of node at depth 1 |
MulDataPath(int, int)
OSN_IMPORT | MulDataPath | ( | int | aIndexForDepth1, |
| int | aIndexForDepth2 |
| ) | |
Constrctor will create path with depth 2 and store specified index at depth 1 and depth 2
Parameters
int aIndexForDepth1 | Index of node at depth 1 |
int aIndexForDepth2 | Index of node at depth 2 |
MulDataPath(const MulDataPath &)
Member Functions Documentation
Append(int)
OSN_IMPORT void | Append | ( | int | aIndex | ) | |
Create new depth and add specified index at created depth.
Parameters
int aIndex | position of node at current depth |
Depth()
OSN_IMPORT int | Depth | ( | ) | const |
Index()
return position in current depth. For internal use only
IsEqual(const MulDataPath &)
Check whather both path are equal or not,For internal use only
SetIndex(int)
Set internal position in current depth
Parameters
int aIndex | position in current depth |
operator<(MulDataPath &)
Comparisition operator for Path. Comapre that path is less that other path or not
Parameters
MulDataPath & aPath | path to wich current path need to be compared |
operator==(const MulDataPath &)
Check whather both path are equal or not,
operator[](int)
OSN_IMPORT int | operator[] | ( | int | aDepth | ) | const |
Return position/index of node at given depth
Member Data Documentation
std::auto_ptr< MulDataPathImpl > mData
std::auto_ptr< MulDataPathImpl > | mData | [private] |
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.