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