diff -r 0ff24a8f6ca2 -r 98307c651589 analyzetool/dynamicmemoryhook/inc/codeblock.h --- a/analyzetool/dynamicmemoryhook/inc/codeblock.h Fri Aug 27 11:37:29 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,74 +0,0 @@ -/* -* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). -* All rights reserved. -* This component and the accompanying materials are made available -* under the terms of "Eclipse Public License v1.0" -* which accompanies this distribution, and is available -* at the URL "http://www.eclipse.org/legal/epl-v10.html". -* -* Initial Contributors: -* Nokia Corporation - initial contribution. -* -* Contributors: -* -* Description: Declaration of the class TCodeblock. -* -*/ - - -#ifndef CODEBLOCK_H -#define CODEBLOCK_H - -// INCLUDES -#include - -/** -* Stores information of process loaded code segments -*/ -class TCodeblock - { - - public: // Constructors - - /** - * C++ default constructor. - * @param aRunAddress Start address of the memory block. - * @param aSize The size of the memory block. - * @param aName The name of the library - */ - TCodeblock( TLinAddr aRunAddress, TUint32 aSize, TBuf8& aName ); - - public: // New functions - - /** - * Checks if the given address is in this memory block area - * @param aAddress A address to be checked. - * @return TBool Returns ETrue if the given address is in this - * memory block area, EFalse otherwise - */ - TBool CheckAddress( TUint32 aAddress ); - - /** - * Matches if the given parameters represents this memory block - * @param aName The name of the library - * @return TBool Returns ETrue if the given parameters represents - * this memory block, EFalse otherwise - */ - TBool Match( TBuf8& aName ); - - private: // Member variables - - /* Start address of the memory block */ - TLinAddr iStartAddress; - - /* End address of the memory block */ - TLinAddr iEndAddress; - - /* End address of the memory block */ - TBuf8 iName; - }; - -#endif // CODEBLOCK_H - -// End of File -