Geant4 11.2.2
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

using MolecularConfigurationManager = G4MolecularConfiguration::G4MolecularConfigurationManager
 

Functions

const char * removePath (const char *path)
 

Typedef Documentation

◆ MolecularConfigurationManager

Function Documentation

◆ removePath()

const char * removePath ( const char * path)

Definition at line 775 of file G4MolecularConfiguration.cc.

776{
777 const char* pDelimeter = strrchr(path, '\\');
778 if (pDelimeter != nullptr) path = pDelimeter + 1;
779
780 pDelimeter = strrchr(path, '/');
781 if (pDelimeter != nullptr) path = pDelimeter + 1;
782
783 return path;
784}