SymTab Class Reference

#include <loader/SymTab.h>

List of all members.


Detailed Description

Definition at line 33 of file SymTab.h.

Public Member Functions

void Add (ADDRESS a, char *s)
ADDRESS find (const char *s)
const char * find (ADDRESS a)
 SymTab ()
 ~SymTab ()

Private Attributes

std::map< ADDRESS, std::string > amap
std::map< std::string, ADDRESSsmap


Constructor & Destructor Documentation

SymTab::SymTab  ) 
 

Definition at line 23 of file SymTab.cpp.

SymTab::~SymTab  ) 
 

Definition at line 26 of file SymTab.cpp.


Member Function Documentation

void SymTab::Add ADDRESS  a,
char *  s
 

Definition at line 29 of file SymTab.cpp.

References amap, and smap.

ADDRESS SymTab::find const char *  s  ) 
 

Definition at line 42 of file SymTab.cpp.

References NO_ADDRESS, and smap.

const char * SymTab::find ADDRESS  a  ) 
 

Definition at line 34 of file SymTab.cpp.

References amap, and NULL.

Referenced by HpSomBinaryFile::GetAddressByName(), HpSomBinaryFile::GetMainEntryPoint(), and HpSomBinaryFile::SymbolByAddress().


Member Data Documentation

std::map<ADDRESS, std::string> SymTab::amap [private]
 

Definition at line 35 of file SymTab.h.

Referenced by Add(), and find().

std::map<std::string, ADDRESS> SymTab::smap [private]
 

Definition at line 37 of file SymTab.h.

Referenced by Add(), and find().


The documentation for this class was generated from the following files:
Generated on Tue Sep 19 21:18:46 2006 for Boomerang by  doxygen 1.4.6