Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

StringTable Class Reference

#include <StringTable.h>

Inheritance diagram for StringTable:

Base List of all members.

Public Member Functions

 StringTable (char *ptr)
 ~StringTable ()
char * getStringTablePtr ()
void print ()
uint32_t read (BinaryInputFile *b)
char * getString (uint32_t offset)
const char * briefName ()
uint32_t instrument (char *buffer, XCoffFileGen *xCoffGen, BaseGen *gen)

Protected Member Functions

 StringTable ()

Protected Attributes

char * stringTablePtr

Constructor & Destructor Documentation

StringTable::StringTable  )  [inline, protected]
 

Definition at line 10 of file StringTable.h.

References stringTablePtr, and XCoffClassTypes_string_table.

StringTable::StringTable char *  ptr  )  [inline]
 

Definition at line 14 of file StringTable.h.

References stringTablePtr, and XCoffClassTypes_string_table.

StringTable::~StringTable  )  [inline]
 

Definition at line 15 of file StringTable.h.


Member Function Documentation

const char* StringTable::briefName  )  [inline, virtual]
 

Reimplemented from Base.

Definition at line 24 of file StringTable.h.

char * StringTable::getString uint32_t  offset  ) 
 

Definition at line 5 of file StringTable.C.

References ASSERT, PRINT_DEBUG, and stringTablePtr.

Referenced by Symbol64::getNameStringTable(), Symbol32::getNameStringTable(), AuxilaryFile::print(), and SourceFileFinder::SourceFileFinder().

char* StringTable::getStringTablePtr  )  [inline]
 

Definition at line 17 of file StringTable.h.

References stringTablePtr.

uint32_t StringTable::instrument char *  buffer,
XCoffFileGen xCoffGen,
BaseGen gen
[virtual]
 

Reimplemented from Base.

Definition at line 341 of file ReWriting.C.

References PRINT_DEBUG, and stringTablePtr.

void StringTable::print  )  [virtual]
 

Reimplemented from Base.

Definition at line 13 of file StringTable.C.

References ASSERT, DemangleWrapper::demangle_combined(), PRINT_INFOR, and stringTablePtr.

Referenced by XCoffFile::print().

uint32_t StringTable::read BinaryInputFile b  )  [virtual]
 

Reimplemented from Base.

Definition at line 34 of file StringTable.C.

References ASSERT, BinaryInputFile::bytesLeftInBuffer(), BinaryInputFile::copyBytes(), BinaryInputFile::currentOffset(), DEBUG, PRINT_DEBUG, Base::setFileOffset(), BinaryInputFile::setInPointer(), and stringTablePtr.

Referenced by XCoffFile::readSymbolStringTable().


Member Data Documentation

char* StringTable::stringTablePtr [protected]
 

Definition at line 8 of file StringTable.h.

Referenced by getString(), getStringTablePtr(), instrument(), print(), read(), and StringTable().


The documentation for this class was generated from the following files:
Generated on Mon Jan 28 11:08:41 2008 for PMaCInstrumentor by doxygen 1.3.5