Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::MapData< TMapRecord > Class Template Reference

#include <itkSmapsFileParser.h>

Inheritance diagram for itk::MapData< TMapRecord >:

Inheritance graph
[legend]
List of all members.

Detailed Description

template<class TMapRecord>
class itk::MapData< TMapRecord >

Base class for the ?map data container. Inherited classes must implement their own

Definition at line 115 of file itkSmapsFileParser.h.

Public Types

typedef unsigned long MemoryLoadType

Public Member Functions

bool Empty ()
virtual MemoryLoadType GetHeapUsage ()=0
virtual MemoryLoadType GetMemoryUsage (const char *filter, const char *token)=0
virtual MemoryLoadType GetStackUsage ()=0
virtual MemoryLoadType GetTotalMemoryUsage ()=0
virtual ~MapData ()

Protected Types

typedef TMapRecord MapRecordType
typedef std::vector< MapRecordTypeMapRecordVectorType

Protected Member Functions

void Reset (void)

Protected Attributes

MapRecordVectorType m_Records


Member Typedef Documentation

template<class TMapRecord>
typedef TMapRecord itk::MapData< TMapRecord >::MapRecordType [protected]

Definition at line 141 of file itkSmapsFileParser.h.

template<class TMapRecord>
typedef std::vector< MapRecordType > itk::MapData< TMapRecord >::MapRecordVectorType [protected]

Definition at line 142 of file itkSmapsFileParser.h.

template<class TMapRecord>
typedef unsigned long itk::MapData< TMapRecord >::MemoryLoadType

need an unsigned long type to be able to accumulate the SmapsRecord

Reimplemented in itk::SmapsData_2_6< TMapRecord >, and itk::VMMapData_10_2< TMapRecord >.

Definition at line 119 of file itkSmapsFileParser.h.


Constructor & Destructor Documentation

template<class TMapRecord>
virtual itk::MapData< TMapRecord >::~MapData (  )  [virtual]


Member Function Documentation

template<class TMapRecord>
bool itk::MapData< TMapRecord >::Empty (  ) 

Returns true if the data has not been initialized yet

template<class TMapRecord>
virtual MemoryLoadType itk::MapData< TMapRecord >::GetHeapUsage (  )  [pure virtual]

Returns the heap usage in kB of the process

Implemented in itk::SmapsData_2_6< TMapRecord >, and itk::VMMapData_10_2< TMapRecord >.

template<class TMapRecord>
virtual MemoryLoadType itk::MapData< TMapRecord >::GetMemoryUsage ( const char *  filter,
const char *  token 
) [pure virtual]

Returns the memory usage in kB of a process segment

Implemented in itk::SmapsData_2_6< TMapRecord >, and itk::VMMapData_10_2< TMapRecord >.

template<class TMapRecord>
virtual MemoryLoadType itk::MapData< TMapRecord >::GetStackUsage (  )  [pure virtual]

Returns the stack usage in kB of the process

Implemented in itk::SmapsData_2_6< TMapRecord >, and itk::VMMapData_10_2< TMapRecord >.

template<class TMapRecord>
virtual MemoryLoadType itk::MapData< TMapRecord >::GetTotalMemoryUsage (  )  [pure virtual]

Returns the total memory usage in kB of the process

Implemented in itk::SmapsData_2_6< TMapRecord >, and itk::VMMapData_10_2< TMapRecord >.

template<class TMapRecord>
void itk::MapData< TMapRecord >::Reset ( void   )  [protected]

Clear the content of the container


Member Data Documentation

template<class TMapRecord>
MapRecordVectorType itk::MapData< TMapRecord >::m_Records [protected]

contains all the segment records

Definition at line 145 of file itkSmapsFileParser.h.


The documentation for this class was generated from the following file:
Generated at Mon Apr 14 19:49:38 2008 for ITK by doxygen 1.5.1 written by Dimitri van Heesch, © 1997-2000