Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4MolecularConfiguration::G4MolecularConfigurationManager Struct Reference

#include <G4MolecularConfiguration.hh>

Public Types

typedef std::map< const G4MoleculeDefinition *, std::map< G4ElectronOccupancy, G4MolecularConfiguration *, comparator > > MolecularConfigurationTable
 

Public Member Functions

 G4MolecularConfigurationManager ()
 
 ~G4MolecularConfigurationManager ()
 

Public Attributes

MolecularConfigurationTable fTable
 

Detailed Description

Definition at line 173 of file G4MolecularConfiguration.hh.

Member Typedef Documentation

◆ MolecularConfigurationTable

Constructor & Destructor Documentation

◆ G4MolecularConfigurationManager()

G4MolecularConfiguration::G4MolecularConfigurationManager::G4MolecularConfigurationManager ( )
inline

Definition at line 175 of file G4MolecularConfiguration.hh.

175{;}

◆ ~G4MolecularConfigurationManager()

G4MolecularConfiguration::G4MolecularConfigurationManager::~G4MolecularConfigurationManager ( )

Definition at line 56 of file G4MolecularConfiguration.cc.

57{
58 G4MolecularConfigurationManager::MolecularConfigurationTable::iterator it1;
59 std::map<G4ElectronOccupancy, G4MolecularConfiguration*, comparator>::iterator it2;
60
61 for(it1 = fTable.begin() ; it1 != fTable.end() ; it1++)
62 {
63 for(it2=it1->second.begin(); it2!=it1->second.end(); it2++)
64 {
65 if(it2->second)
66 {
67 delete it2->second;
68 }
69 }
70 }
71}

Member Data Documentation

◆ fTable


The documentation for this struct was generated from the following files: