Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
G4ModelingParameters::PVNameCopyNo Class Reference

#include <G4ModelingParameters.hh>

Public Member Functions

 PVNameCopyNo (G4String name, G4int copyNo)
 
const G4StringGetName () const
 
G4int GetCopyNo () const
 
G4bool operator!= (const PVNameCopyNo &) const
 
G4bool operator== (const PVNameCopyNo &rhs) const
 

Detailed Description

Definition at line 78 of file G4ModelingParameters.hh.

Constructor & Destructor Documentation

G4ModelingParameters::PVNameCopyNo::PVNameCopyNo ( G4String  name,
G4int  copyNo 
)
inline

Definition at line 80 of file G4ModelingParameters.hh.

80  :
81  fName(name), fCopyNo(copyNo) {}

Member Function Documentation

G4int G4ModelingParameters::PVNameCopyNo::GetCopyNo ( ) const
inline

Definition at line 83 of file G4ModelingParameters.hh.

83 {return fCopyNo;}
const G4String& G4ModelingParameters::PVNameCopyNo::GetName ( ) const
inline

Definition at line 82 of file G4ModelingParameters.hh.

82 {return fName;}
G4bool G4ModelingParameters::PVNameCopyNo::operator!= ( const PVNameCopyNo rhs) const

Definition at line 253 of file G4ModelingParameters.cc.

254 {
255  if (fName != rhs.fName) return true;
256  if (fCopyNo != rhs.fCopyNo) return true;
257  return false;
258 }

Here is the caller graph for this function:

G4bool G4ModelingParameters::PVNameCopyNo::operator== ( const PVNameCopyNo rhs) const
inline

Definition at line 85 of file G4ModelingParameters.hh.

85 {return !operator!=(rhs);}
G4bool operator!=(const PVNameCopyNo &) const

Here is the call graph for this function:


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