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

FileUtil.cc

Go to the documentation of this file.
00001 #include "FileUtil.hh"
00002 
00003 #include <iostream>
00004 #include <fstream>
00005 using std::ifstream;
00006 #include <iomanip>
00007 #include <cstdlib>
00008 
00009 int FileExists(const char* path)
00010 {
00011   int ret;
00012   ifstream chkFile(path);
00013 
00014   if (chkFile)
00015     ret = 1;
00016   else
00017     ret = 0;
00018 
00019   chkFile.close();
00020   return ret;
00021 }

Generated on Thu Oct 7 18:44:46 2004 for LCDG4 by doxygen 1.3.4