Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
G4UImanager.cc File Reference
#include "G4UImanager.hh"
#include "G4UIcommandTree.hh"
#include "G4UIcommand.hh"
#include "G4UIsession.hh"
#include "G4UIbatch.hh"
#include "G4UIcontrolMessenger.hh"
#include "G4UnitsMessenger.hh"
#include "G4LocalThreadCoutMessenger.hh"
#include "G4ios.hh"
#include "G4strstreambuf.hh"
#include "G4StateManager.hh"
#include "G4UIaliasList.hh"
#include "G4Tokenizer.hh"
#include "G4MTcoutDestination.hh"
#include "G4UIbridge.hh"
#include "G4Threading.hh"
#include <sstream>
#include <fstream>
Include dependency graph for G4UImanager.cc:

Go to the source code of this file.

Functions

static G4bool FileFound (const G4String &fname)
 

Function Documentation

static G4bool FileFound ( const G4String fname)
static

Definition at line 683 of file G4UImanager.cc.

684 {
685  G4bool qopen = false;
686  std::ifstream fs;
687  fs.open(fname.c_str(), std::ios::in);
688  if(fs.good()) {
689  fs.close();
690  qopen = true;
691  }
692  return qopen;
693 }
bool G4bool
Definition: G4Types.hh:79

Here is the caller graph for this function: