G4GeomTestStreamLogger::VolumeNameAndCopy Class Reference

#include <G4GeomTestStreamLogger.hh>


Public Member Functions

 VolumeNameAndCopy (const G4VPhysicalVolume *theVolume)
void Print (std::ostream &) const


Detailed Description

Definition at line 88 of file G4GeomTestStreamLogger.hh.


Constructor & Destructor Documentation

G4GeomTestStreamLogger::VolumeNameAndCopy::VolumeNameAndCopy ( const G4VPhysicalVolume theVolume  )  [inline]

Definition at line 91 of file G4GeomTestStreamLogger.hh.

00092           : volume(theVolume) {;}


Member Function Documentation

void G4GeomTestStreamLogger::VolumeNameAndCopy::Print ( std::ostream &   )  const

Definition at line 83 of file G4GeomTestStreamLogger.cc.

References G4VPhysicalVolume::GetCopyNo(), and G4VPhysicalVolume::GetName().

Referenced by operator<<().

00084 {
00085         o << volume->GetName() << "[" << volume->GetCopyNo() << "]";
00086 }


The documentation for this class was generated from the following files:
Generated on Mon May 27 17:52:05 2013 for Geant4 by  doxygen 1.4.7