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

FileUtil.hh File Reference

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Defines

#define File_Util_hh   1

Functions

int FileExists (const char *path)


Define Documentation

#define File_Util_hh   1
 

Definition at line 2 of file FileUtil.hh.


Function Documentation

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 }


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