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

itk::SmapsRecord Class Reference

#include <itkSmapsFileParser.h>

Inheritance diagram for itk::SmapsRecord:

Inheritance graph
[legend]
Collaboration diagram for itk::SmapsRecord:

Collaboration graph
[legend]
List of all members.

Detailed Description

This struct contains an entry in a smaps file. It is filled by operator>>(istream&,SmapsRecord&).

Definition at line 63 of file itkSmapsFileParser.h.

Public Types

typedef unsigned int MemoryLoadType

Public Member Functions

void Reset (void)

Public Attributes

std::string m_RecordName
std::map< std::string, MemoryLoadTypem_Tokens

Friends

ITKCommon_EXPORT std::istream & operator>> (std::istream &in, SmapsRecord &record)


Member Typedef Documentation

typedef unsigned int itk::MapRecord::MemoryLoadType [inherited]

Definition at line 41 of file itkSmapsFileParser.h.


Member Function Documentation

void itk::MapRecord::Reset ( void   )  [inherited]

Reset the record


Friends And Related Function Documentation

ITKCommon_EXPORT std::istream& operator>> ( std::istream &  in,
SmapsRecord record 
) [friend]

Input operator to fill a SmapsRecord The format has to be the following: "address permissions offset device inode optional_name Token1: number kB Token2: number kB ... TokenN: number kB" Example: 00101000-0023b000 r-xp 00000000 fd:00 165671 /lib/libc-2.5.so Size: 1256 kB Rss: 640 kB Shared_Clean: 640 kB Shared_Dirty: 0 kB Private_Clean: 0 kB Private_Dirty: 0 kB


Member Data Documentation

std::string itk::MapRecord::m_RecordName [inherited]

Optional record name

Definition at line 49 of file itkSmapsFileParser.h.

std::map<std::string, MemoryLoadType> itk::MapRecord::m_Tokens [inherited]

Contains a list of token with the associated memory allocated, tokens could be typically: Size, Rss, Shared_Clean, Shared_Dirty, Private_Clean, Private_Dirty, Referenced.

Definition at line 55 of file itkSmapsFileParser.h.


The documentation for this class was generated from the following file:
Generated at Thu Nov 6 11:09:32 2008 for ITK by doxygen 1.5.1 written by Dimitri van Heesch, © 1997-2000