LLVM OpenMP 20.0.0git
Public Member Functions | List of all members
StringTable Class Reference

Public Member Functions

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

Detailed Description

Definition at line 101 of file extractExternal.cpp.

Constructor & Destructor Documentation

◆ StringTable() [1/2]

StringTable::StringTable ( rstream f)
inline

Definition at line 136 of file extractExternal.cpp.

References f(), s, and stop().

◆ StringTable() [2/2]

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

Definition at line 156 of file extractExternal.cpp.

References data, KMP_MEMCPY, length, p, s, and stop().

◆ ~StringTable()

StringTable::~StringTable ( )
inline

Definition at line 190 of file extractExternal.cpp.

References data.

Member Function Documentation

◆ decode()

string StringTable::decode ( __int64  x) const
inline

Definition at line 214 of file extractExternal.cpp.

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

Referenced by computeExternalSymbols(), and hideSymbols().

◆ encode()

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

Definition at line 194 of file extractExternal.cpp.

References KMP_STRNCPY_S, r, and stop().

Referenced by hideSymbols().

◆ write()

void StringTable::write ( ostream &  os)
inline

Definition at line 231 of file extractExternal.cpp.

References data, and length.

Referenced by hideSymbols().


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