Geant4-11
Public Member Functions | Private Attributes
G4ModelingParameters::PVNameCopyNo Class Reference

#include <G4ModelingParameters.hh>

Public Member Functions

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

Private Attributes

G4int fCopyNo
 
G4String fName
 

Detailed Description

Definition at line 81 of file G4ModelingParameters.hh.

Constructor & Destructor Documentation

◆ PVNameCopyNo()

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

Member Function Documentation

◆ GetCopyNo()

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

Definition at line 87 of file G4ModelingParameters.hh.

87{return fCopyNo;}

References fCopyNo.

◆ GetName()

const G4String & G4ModelingParameters::PVNameCopyNo::GetName ( ) const
inline

Definition at line 86 of file G4ModelingParameters.hh.

86{return fName;}

References fName.

◆ operator!=()

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

Definition at line 355 of file G4ModelingParameters.cc.

357{
358 if (fName != rhs.fName) return true;
359 if (fCopyNo != rhs.fCopyNo) return true;
360 return false;
361}

Referenced by operator==().

◆ operator==()

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

Definition at line 89 of file G4ModelingParameters.hh.

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

References operator!=().

Field Documentation

◆ fCopyNo

G4int G4ModelingParameters::PVNameCopyNo::fCopyNo
private

Definition at line 92 of file G4ModelingParameters.hh.

Referenced by GetCopyNo().

◆ fName

G4String G4ModelingParameters::PVNameCopyNo::fName
private

Definition at line 91 of file G4ModelingParameters.hh.

Referenced by GetName().


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