StringTable Class Reference

Public Member Functions

string decode (int64_t x) const
string decode (__int64 x) const
int64_t encode (const string &str)
__int64 encode (const string &str)
 StringTable (const set< string > &strings)
 StringTable (rstream_t &f)
 StringTable (const set< string > &strings)
 StringTable (rstream &f)
void write (ostream &os)
void write (ostream &os)
 ~StringTable ()
 ~StringTable ()

Private Member Functions

void init (const char *_data)
void init (const char *_data)
void makeDirectory (void)
void makeDirectory (void)

Private Attributes

char * data
map< string, unsigned > directory
size_t length

Detailed Description

Definition at line 144 of file extractExternal.cpp.


Constructor & Destructor Documentation

StringTable::StringTable ( rstream f  )  [inline]

Definition at line 178 of file extractExternal.cpp.

References init(), and stop().

StringTable::StringTable ( const set< string > &  strings  )  [inline]

Definition at line 199 of file extractExternal.cpp.

References data, directory, length, and stop().

StringTable::~StringTable (  )  [inline]

Definition at line 232 of file extractExternal.cpp.

References data.

StringTable::StringTable ( rstream_t f  )  [inline]

Definition at line 217 of file objcopy.cpp.

References init(), and stop().

StringTable::StringTable ( const set< string > &  strings  )  [inline]

Definition at line 238 of file objcopy.cpp.

References data, directory, length, and stop().

StringTable::~StringTable (  )  [inline]

Definition at line 271 of file objcopy.cpp.

References data.


Member Function Documentation

string StringTable::decode ( int64_t  x  )  const [inline]

Definition at line 300 of file objcopy.cpp.

References data, i, length, and stop().

string StringTable::decode ( __int64  x  )  const [inline]

Definition at line 261 of file extractExternal.cpp.

References data, i, length, and stop().

Referenced by computeExternalSymbols(), hideSymbols(), and obj_copy().

int64_t StringTable::encode ( const string &  str  )  [inline]

Definition at line 278 of file objcopy.cpp.

References directory, and stop().

__int64 StringTable::encode ( const string &  str  )  [inline]

Definition at line 239 of file extractExternal.cpp.

References directory, and stop().

Referenced by hideSymbols(), and obj_copy().

void StringTable::init ( const char *  _data  )  [inline, private]

Definition at line 200 of file objcopy.cpp.

References data, length, makeDirectory(), and stop().

void StringTable::init ( const char *  _data  )  [inline, private]

Definition at line 160 of file extractExternal.cpp.

References data, length, makeDirectory(), and stop().

Referenced by StringTable().

void StringTable::makeDirectory ( void   )  [inline, private]

Definition at line 191 of file objcopy.cpp.

References data, directory, i, and length.

void StringTable::makeDirectory ( void   )  [inline, private]

Definition at line 151 of file extractExternal.cpp.

References data, directory, i, and length.

Referenced by init().

void StringTable::write ( ostream &  os  )  [inline]

Definition at line 316 of file objcopy.cpp.

References data, and length.

void StringTable::write ( ostream &  os  )  [inline]

Definition at line 277 of file extractExternal.cpp.

References data, and length.

Referenced by hideSymbols(), and obj_copy().


Field Documentation

char * StringTable::data [private]

Definition at line 148 of file extractExternal.cpp.

Referenced by decode(), init(), makeDirectory(), StringTable(), write(), and ~StringTable().

map< string, unsigned > StringTable::directory [private]

Definition at line 146 of file extractExternal.cpp.

Referenced by encode(), makeDirectory(), and StringTable().

size_t StringTable::length [private]

Definition at line 147 of file extractExternal.cpp.

Referenced by decode(), init(), makeDirectory(), StringTable(), and write().


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

Generated on 25 Aug 2013 for libomp_oss by  doxygen 1.6.1