Main Page   Compound List   File List   Compound Members  

SystemMap Class Reference

Representation of a System.map file. More...

#include <SystemMap.hpp>

List of all members.

Public Methods

 SystemMap (string file)
 Create a SystemMap object and read symbol names and addresses from a file.

 SystemMap ()
 Create a SystemMap object and leave it empty.

 ~SystemMap ()
 Foo.

bool contains (string)
 Check if a symbol (by name) is part of the object. More...

void add (string name, unsigned int address)
 Add a name, address pair to the object. More...

unsigned int operator[] (string name)
 Random access operator for accessing elements in the form x = <name>[<symbol>]. More...


Detailed Description

Representation of a System.map file.

It maps names to addresses.


Member Function Documentation

void SystemMap::add string name,
unsigned int address
 

Add a name, address pair to the object.

Parameters:
name   Symbolname. If a symbol with this name already exists it will not be added.
address   the address of the symbol.

bool SystemMap::contains string
 

Check if a symbol (by name) is part of the object.

Returns:
true if the questioned symbol is part of the object (else false).

unsigned int SystemMap::operator[] string name
 

Random access operator for accessing elements in the form x = <name>[<symbol>].

Parameters:
name   of a symbol.
Returns:
the address of symbol name.


The documentation for this class was generated from the following file:
Generated at Tue Aug 14 18:04:51 2001 for Kermit by doxygen1.2.9.1 written by Dimitri van Heesch, © 1997-2001