#include "FileUtil.hh"
#include <iostream>
#include <fstream>
#include <iomanip>
#include <cstdlib>
Include dependency graph for FileUtil.cc:

Go to the source code of this file.
Functions | |
| int | FileExists (const char *path) |
|
|
Definition at line 9 of file FileUtil.cc. Referenced by LCDXML2G4DetConst::SetXMLFile().
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 }
|
1.3.4