Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions
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 77 of file G4ModelingParameters.hh.

Constructor & Destructor Documentation

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

Definition at line 79 of file G4ModelingParameters.hh.

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

Member Function Documentation

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

Definition at line 82 of file G4ModelingParameters.hh.

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

Definition at line 81 of file G4ModelingParameters.hh.

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

Definition at line 253 of file G4ModelingParameters.cc.

References fName.

Referenced by operator==().

254 {
255  if (fName != rhs.fName) return true;
256  if (fCopyNo != rhs.fCopyNo) return true;
257  return false;
258 }
G4bool G4ModelingParameters::PVNameCopyNo::operator== ( const PVNameCopyNo rhs) const
inline

Definition at line 84 of file G4ModelingParameters.hh.

References operator!=().

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

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