Geant4 11.1.1
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 794 of file G4MolecularConfiguration.cc.

795{
796 const char* pDelimeter = strrchr(path, '\\');
797 if (pDelimeter) path = pDelimeter + 1;
798
799 pDelimeter = strrchr(path, '/');
800 if (pDelimeter) path = pDelimeter + 1;
801
802 return path;
803}