#include <stdlib.h>
#include <iostream>
#include <strstream>
#include <fstream>
#include <string>
#include <set>
#include <map>
Go to the source code of this file.
Data Structures | |
class | _rstream |
class | rstream |
class | StringTable |
class | Symbol |
Functions | |
void | computeExternalSymbols (const char *fileName, set< string > *defined, set< string > *undefined) |
set< int > * | findRequiredExternal (int nExternal, int nTotal, set< string > *defined, set< string > *undefined) |
void | hideSymbols (char *fileName, const set< string > &hide) |
template<class T > | |
bool | isDisjoint (const set< T > &a, const set< T > &b) |
int | main (int argc, char **argv) |
void | stop (char *errorMsg) |
void computeExternalSymbols | ( | const char * | fileName, | |
set< string > * | defined, | |||
set< string > * | undefined | |||
) |
Definition at line 285 of file extractExternal.cpp.
References StringTable::decode(), i, and stop().
Referenced by main().
set<int>* findRequiredExternal | ( | int | nExternal, | |
int | nTotal, | |||
set< string > * | defined, | |||
set< string > * | undefined | |||
) |
Definition at line 448 of file extractExternal.cpp.
References i, and isDisjoint().
Referenced by main().
void hideSymbols | ( | char * | fileName, | |
const set< string > & | hide | |||
) |
Definition at line 337 of file extractExternal.cpp.
References StringTable::decode(), StringTable::encode(), i, stop(), and StringTable::write().
Referenced by main().
bool isDisjoint | ( | const set< T > & | a, | |
const set< T > & | b | |||
) | [inline] |
Definition at line 426 of file extractExternal.cpp.
Referenced by findRequiredExternal().
int main | ( | int | argc, | |
char ** | argv | |||
) |
Definition at line 478 of file extractExternal.cpp.
References computeExternalSymbols(), findRequiredExternal(), hideSymbols(), i, and stop().
void stop | ( | char * | errorMsg | ) |
Definition at line 70 of file extractExternal.cpp.
Referenced by computeExternalSymbols(), StringTable::decode(), StringTable::encode(), rstream_t::getBuf(), rstream::getBuf(), hideSymbols(), StringTable::init(), main(), obj_copy(), and StringTable::StringTable().