extractExternal.cpp File Reference

#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)

Function Documentation

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().

template<class T >
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 
)
void stop ( char *  errorMsg  ) 

Generated on 25 Aug 2013 for libomp_oss by  doxygen 1.6.1