CLeakTracker Class Reference

class CLeakTracker : public CBase

A class to help track memory leaks.

Library: FeedsEngine.lib

Since
3.0

Inherits from

Public Member Functions
~CLeakTracker()
voidDecrement(TInstType)
voidIncrement(TInstType)
CLeakTracker *NewL(const TDesC &)
Private Member Functions
CLeakTracker()
voidConstructL(const TDesC &)
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
Public Member Enumerations
enumTInstType {
ENone = 0, EAbstractValueHolder = 1, EEditFeedDialog = 2, EEditFolderDialog = 3, EFeed = 4, EFeedContainer = 5, EFeedHandler = 6, EFeedParser = 7, EFeedsApplication = 8, EFeedsAppUi = 9, EFeedsDocument = 10, EFeedView = 11, EFileHandler = 12, EFolderContainer = 13, EFolderItem = 14, EFolderView = 15, EUpdateFeedTask = 16, EImportFolderTask = 17, EHttpConnection = 18, EHttpHandler = 19, EItem = 20, EItemIter = 21, ELibXml2 = 22, ERichTextEditor = 23, EOpmlParser = 24, EUpdateFolderViewTask = 25, ERssFeedParser = 26, ESettingsContainer = 27, ESettingsView = 28, ESingletons = 29, ETestHarness = 30, ETopicContainer = 31, ETopicView = 32, EUpdateTopicViewTask = 33, EWaitDialog = 34, EXmlEncoding = 35, EXmlEntity = 36, ETestHarnessContainer = 37, ETestHarnessView = 38, EFeedsServer = 39, EFeedsDatabase = 40, EAtomFeedParser = 41, EUpdateAllFeedsTask = 42, EFeedsServerSession = 43, EBackgroundUpdater = 44, EPackedFeed = 45, EPackedFolder = 46, EFeedsViewMgr = 47, EFeedsServerClient = 48, EClientRequestHandler = 49, EFeedsServerFeed = 50, EFeedRequestHandler = 51, EFeedsSeverFolderItem = 52, EFolderItemRequestHandler = 53, EEnclosure = 54, EMiniItem = 55
}
Private Attributes
HBufC *iSource
RArray< LeakTracker_Value >iValues

Constructor & Destructor Documentation

CLeakTracker()

CLeakTracker()[private]

C++ default constructor.

~CLeakTracker()

~CLeakTracker()[virtual]

Destructor.

Member Functions Documentation

ConstructL(const TDesC &)

voidConstructL(const TDesC &aSource)[private]

By default Symbian 2nd phase constructor is private.

Parameters

const TDesC & aSource

Decrement(TInstType)

voidDecrement(TInstTypeaType)

Decrements the ref-count on the given class type

Since
3.0

Parameters

TInstType aTypeThe class type to be decremented.

Increment(TInstType)

voidIncrement(TInstTypeaType)

Increments the ref-count on the given class type

Since
3.0

Parameters

TInstType aTypeThe class type to be incremented.

NewL(const TDesC &)

CLeakTracker *NewL(const TDesC &aSource)[static]

Two-phased constructor.

Parameters

const TDesC & aSource

Member Enumerations Documentation

Enum TInstType

Enumerators

ENone = 0
EAbstractValueHolder = 1
EEditFeedDialog = 2
EEditFolderDialog = 3
EFeed = 4
EFeedContainer = 5
EFeedHandler = 6
EFeedParser = 7
EFeedsApplication = 8
EFeedsAppUi = 9
EFeedsDocument = 10
EFeedView = 11
EFileHandler = 12
EFolderContainer = 13
EFolderItem = 14
EFolderView = 15
EUpdateFeedTask = 16
EImportFolderTask = 17
EHttpConnection = 18
EHttpHandler = 19
EItem = 20
EItemIter = 21
ELibXml2 = 22
ERichTextEditor = 23
EOpmlParser = 24
EUpdateFolderViewTask = 25
ERssFeedParser = 26
ESettingsContainer = 27
ESettingsView = 28
ESingletons = 29
ETestHarness = 30
ETopicContainer = 31
ETopicView = 32
EUpdateTopicViewTask = 33
EWaitDialog = 34
EXmlEncoding = 35
EXmlEntity = 36
ETestHarnessContainer = 37
ETestHarnessView = 38
EFeedsServer = 39
EFeedsDatabase = 40
EAtomFeedParser = 41
EUpdateAllFeedsTask = 42
EFeedsServerSession = 43
EBackgroundUpdater = 44
EPackedFeed = 45
EPackedFolder = 46
EFeedsViewMgr = 47
EFeedsServerClient = 48
EClientRequestHandler = 49
EFeedsServerFeed = 50
EFeedRequestHandler = 51
EFeedsSeverFolderItem = 52
EFolderItemRequestHandler = 53
EEnclosure = 54
EMiniItem = 55

Member Data Documentation

HBufC * iSource

HBufC *iSource[private]

RArray< LeakTracker_Value > iValues

RArray< LeakTracker_Value >iValues[private]