ITK  4.1.0
Insight Segmentation and Registration Toolkit
Public Member Functions
itk::SmapsFileParser< TSmapsDataType > Class Template Reference

#include <itkSmapsFileParser.h>

+ Inheritance diagram for itk::SmapsFileParser< TSmapsDataType >:
+ Collaboration diagram for itk::SmapsFileParser< TSmapsDataType >:

List of all members.

Public Member Functions

virtual void ReadFile (const std::string &mapFileLocation="")
virtual ~SmapsFileParser ()

Detailed Description

template<class TSmapsDataType>
class itk::SmapsFileParser< TSmapsDataType >

Read a smap file (typically located in /proc/PID/smaps) and extract the memory usage information. Any smaps data reader can be used in template as long as they implement a operator>>(istream&) and have GetXXXUsage() methods.

Definition at line 271 of file itkSmapsFileParser.h.


Constructor & Destructor Documentation

template<class TSmapsDataType >
virtual itk::SmapsFileParser< TSmapsDataType >::~SmapsFileParser ( ) [virtual]

Member Function Documentation

template<class TSmapsDataType >
virtual void itk::SmapsFileParser< TSmapsDataType >::ReadFile ( const std::string &  mapFileLocation = "") [virtual]

Load and parse the smaps file pointed by smapsFileLocation. If smapsFileLocation is empty, load the file located at "/proc/" + PID + "/smaps" Throw an exception is the file can't be opened.

Implements itk::MapFileParser< TSmapsDataType >.


The documentation for this class was generated from the following file: