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

/users/u3/mtikir/PMaCInstrumentor_v1601/include/StringTable.h

Go to the documentation of this file.
00001 #ifndef _StringTable_h_
00002 #define _StringTable_h_
00003 
00004 #include <Base.h>
00005 
00006 class StringTable : public Base {
00007 protected:
00008     char* stringTablePtr;
00009 
00010     StringTable() : Base(XCoffClassTypes_string_table),stringTablePtr(NULL) {}
00011 
00012 public:
00013 
00014     StringTable(char* ptr) : Base(XCoffClassTypes_string_table),stringTablePtr(ptr) {}
00015     ~StringTable() {}
00016 
00017     char* getStringTablePtr() { return stringTablePtr; }
00018 
00019     void print();
00020     uint32_t read(BinaryInputFile* b);
00021 
00022     char* getString(uint32_t offset);
00023 
00024     const char* briefName() { return "StringTable"; }
00025 
00026     uint32_t instrument(char* buffer,XCoffFileGen* xCoffGen,BaseGen* gen);
00027 };
00028 
00029 #endif /* _StringTable_h_ */

Generated on Mon Jan 28 11:08:31 2008 for PMaCInstrumentor by doxygen 1.3.5