Changeset 921 for trunk/source/geometry/volumes
- Timestamp:
- Feb 16, 2009, 10:14:30 AM (17 years ago)
- Location:
- trunk/source/geometry/volumes
- Files:
-
- 3 edited
-
History (modified) (2 diffs)
-
include/G4ReflectionFactory.hh (modified) (2 diffs)
-
src/G4ReflectionFactory.cc (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/geometry/volumes/History
r850 r921 1 $Id: History,v 1.15 3 2008/08/19 15:32:14gcosmo Exp $1 $Id: History,v 1.155 2008/11/13 09:35:03 gcosmo Exp $ 2 2 ------------------------------------------------------------------- 3 3 … … 17 17 * Reverse chronological order (last date on top), please * 18 18 ---------------------------------------------------------- 19 20 Nov 13th, 2008 G.Cosmo - geomvol-V09-01-03 21 - Corrected singleton definition for G4ReflectionFactory. 22 - Return 'const G4String&' instead of copy in GetVolumesNameExtension(). 19 23 20 24 Aug 19th, 2008 G.Cosmo - geomvol-V09-01-02 -
trunk/source/geometry/volumes/include/G4ReflectionFactory.hh
r850 r921 25 25 // 26 26 // 27 // $Id: G4ReflectionFactory.hh,v 1. 3 2006/06/29 18:57:39 gunterExp $28 // GEANT4 tag $Name: HEAD$27 // $Id: G4ReflectionFactory.hh,v 1.4 2008/11/13 09:33:20 gcosmo Exp $ 28 // GEANT4 tag $Name: geant4-09-02-cand-01 $ 29 29 // 30 30 // … … 152 152 153 153 void SetVolumesNameExtension(const G4String& nameExtension); 154 G4StringGetVolumesNameExtension() const;154 const G4String& GetVolumesNameExtension() const; 155 155 // Returns the name extension for the reflected solids 156 156 // and logical volumes. -
trunk/source/geometry/volumes/src/G4ReflectionFactory.cc
r850 r921 25 25 // 26 26 // 27 // $Id: G4ReflectionFactory.cc,v 1. 6 2007/05/11 13:58:35gcosmo Exp $28 // GEANT4 tag $Name: HEAD$27 // $Id: G4ReflectionFactory.cc,v 1.9 2008/11/13 09:33:20 gcosmo Exp $ 28 // GEANT4 tag $Name: geant4-09-02-cand-01 $ 29 29 // 30 30 // … … 75 75 // --- 76 76 77 if (!fInstance) new G4ReflectionFactory();78 77 if (!fInstance) { fInstance = new G4ReflectionFactory(); } 78 79 79 return fInstance; 80 80 } … … 98 98 G4ReflectionFactory::~G4ReflectionFactory() 99 99 { 100 delete fInstance; 100 101 } 101 102 … … 862 863 //_____________________________________________________________________________ 863 864 864 G4StringG4ReflectionFactory::GetVolumesNameExtension() const865 const G4String& G4ReflectionFactory::GetVolumesNameExtension() const 865 866 { 866 867 return fNameExtension;
Note:
See TracChangeset
for help on using the changeset viewer.
