CDigViewGraph Class Reference

class CDigViewGraph : public CBase

Inherits from

Constructor & Destructor Documentation

CDigViewGraph()

CDigViewGraph ( ) [private, inline]

~CDigViewGraph()

IMPORT_C ~CDigViewGraph ( )

Destructor.

Member Functions Documentation

ConstructL(TResourceReader &)

void ConstructL ( TResourceReader & aResReader ) [private]

Parameters

TResourceReader & aResReader

Count()

TInt Count ( ) const [inline]

Returns view graph node count.

CreateUnlinkedNodesFromResourceL(TResourceReader &)

CDigViewNodeArray * CreateUnlinkedNodesFromResourceL ( TResourceReader & aResReader ) [private]

Creates a new view node array from resource file.

Parameters

TResourceReader & aResReader containing DIG_VIEW_GRAPH resource

FindNodeWithViewId(TUid)

IMPORT_C CDigViewNode * FindNodeWithViewId ( TUid aViewId ) const

Returns node with resource id aViewId, NULL if not found.

Parameters

TUid aViewId

LinkNodesWithTransitions()

void LinkNodesWithTransitions ( ) [private]

Links nodes with transitions.

MergeNodesL(CDigViewNodeArray &)

void MergeNodesL ( CDigViewNodeArray & aChangedNodes ) [private]

Merges two node arrays, iNode and aChangedNodes. Handles also destruction of nodes existing in aChangedNodes.

Parameters

CDigViewNodeArray & aChangedNodes array to be merged with iNode

ModifyViewGraphL(TResourceReader &)

IMPORT_C void ModifyViewGraphL ( TResourceReader & aResReader )

Modifies existing view graph. Updates transitions and appends new view node according to aResReader.

Parameters

TResourceReader & aResReader reads data initialized with DIG_VIEW_GRAPH resource

NewL(TResourceReader &)

IMPORT_C CDigViewGraph * NewL ( TResourceReader & aResReader ) [static]

Creates a new view graph from a DIG_VIEW_GRAPH resource.

Parameters

TResourceReader & aResReader a DIG_VIEW_GRAPH resource reader

operator[](TInt)

const CDigViewNode & operator[] ( TInt aIndex ) const [inline]

Returns view graph node at aIndex.

Parameters

TInt aIndex

Member Type Definitions Documentation

Typedef CDigViewNodeArray

typedef CArrayPtrFlat < CDigViewNode > CDigViewNodeArray [private]

Member Data Documentation

CDigViewNodeArray * iNodes

CDigViewNodeArray * iNodes [private]