Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
G4FastPathHadronicCrossSection::G4CrossSectionDataStore_Key_EqualTo Struct Reference

#include <G4FastPathHadronicCrossSection.hh>

Public Member Functions

bool operator() (const G4CrossSectionDataStore_Key &lhs, const G4CrossSectionDataStore_Key &rhs) const
 

Detailed Description

Definition at line 130 of file G4FastPathHadronicCrossSection.hh.

Member Function Documentation

bool G4FastPathHadronicCrossSection::G4CrossSectionDataStore_Key_EqualTo::operator() ( const G4CrossSectionDataStore_Key lhs,
const G4CrossSectionDataStore_Key rhs 
) const
inline

Definition at line 131 of file G4FastPathHadronicCrossSection.hh.

131  {
132  //TODO: Verify this: particles are singletons, materials use operator==
133  //TODO: in ref-10, G4Material::operator== becomes deleted, investigating why
134  return (lhs.first==rhs.first)&&(lhs.second == rhs.second);
135  }

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