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

LocateInputFileDirectory.h

Go to the documentation of this file.
00001 #ifndef _LOCATEINPUTFILEDIRECTORY
00002 #define _LOCATEINPUTFILEDIRECTORY
00003 //using namespace std;
00004 
00005 class LocateInputFileDirectory
00006 {
00007 public:
00008 
00009         // Looks in ../ and ../.. and ../../.. for fileName; returns directory where found.
00010         LocateInputFileDirectory(const char *fileName);
00011         ~LocateInputFileDirectory(void);
00012 
00013         const char* Get(const char* fileName);
00014 
00015 private:
00016         char directoryName[1000];
00017         char gotFileName[2000];
00018 };
00019 
00020 #endif // _LOCATEINPUTFILEDIRECTORY

Generated on Mon Nov 3 09:37:57 2003 by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002