Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4MolecularConfiguration.cc File Reference
#include "G4MolecularConfiguration.hh"
#include "G4MoleculeDefinition.hh"
#include "G4UIcommand.hh"
#include "G4AllocatorList.hh"
#include "G4AutoLock.hh"
#include "G4MoleculeTable.hh"
#include "G4Serialize.hh"
#include <fstream>

Go to the source code of this file.

Typedefs

typedef G4MolecularConfiguration::G4MolecularConfigurationManager MolecularConfigurationManager
 

Functions

const char * removePath (const char *path)
 

Typedef Documentation

◆ MolecularConfigurationManager

Function Documentation

◆ removePath()

const char * removePath ( const char *  path)

Definition at line 810 of file G4MolecularConfiguration.cc.

811{
812 const char* pDelimeter = strrchr(path, '\\');
813 if (pDelimeter) path = pDelimeter + 1;
814
815 pDelimeter = strrchr(path, '/');
816 if (pDelimeter) path = pDelimeter + 1;
817
818 return path;
819}