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 &)

voidConstructL(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 & aResReadercontaining DIG_VIEW_GRAPH resource

FindNodeWithViewId(TUid)

IMPORT_C CDigViewNode *FindNodeWithViewId(TUidaViewId)const

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

Parameters

TUid aViewId

LinkNodesWithTransitions()

voidLinkNodesWithTransitions()[private]

Links nodes with transitions.

MergeNodesL(CDigViewNodeArray &)

voidMergeNodesL(CDigViewNodeArray &aChangedNodes)[private]

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

Parameters

CDigViewNodeArray & aChangedNodesarray to be merged with iNode

ModifyViewGraphL(TResourceReader &)

IMPORT_C voidModifyViewGraphL(TResourceReader &aResReader)

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

Parameters

TResourceReader & aResReaderreads 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 & aResReadera DIG_VIEW_GRAPH resource reader

operator[](TInt)

const CDigViewNode &operator[](TIntaIndex)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]