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

#include <G4NavigationLevel.hh>

Public Member Functions

 G4NavigationLevel (G4VPhysicalVolume *newPtrPhysVol, const G4AffineTransform &newT, EVolume newVolTp, G4int newRepNo=-1)
 
 G4NavigationLevel (G4VPhysicalVolume *newPtrPhysVol, const G4AffineTransform &levelAbove, const G4AffineTransform &relativeCurrent, EVolume newVolTp, G4int newRepNo=-1)
 
 G4NavigationLevel ()
 
 G4NavigationLevel (const G4NavigationLevel &)
 
 ~G4NavigationLevel ()
 
G4NavigationLeveloperator= (const G4NavigationLevel &right)
 
G4VPhysicalVolumeGetPhysicalVolume () const
 
const G4AffineTransformGetTransformPtr () const
 
const G4AffineTransformGetTransform () const
 
EVolume GetVolumeType () const
 
G4int GetReplicaNo () const
 
const G4AffineTransformGetPtrTransform () const
 
voidoperator new (size_t)
 
void operator delete (void *aLevel)
 
voidoperator new (size_t, void *)
 
void operator delete (void *ptr, void *)
 

Detailed Description

Definition at line 54 of file G4NavigationLevel.hh.

Constructor & Destructor Documentation

G4NavigationLevel::G4NavigationLevel ( G4VPhysicalVolume newPtrPhysVol,
const G4AffineTransform newT,
EVolume  newVolTp,
G4int  newRepNo = -1 
)

Definition at line 37 of file G4NavigationLevel.cc.

41 {
42  fLevelRep = new G4NavigationLevelRep( pPhysVol, afTransform, volTp, repNo );
43 }
G4NavigationLevel::G4NavigationLevel ( G4VPhysicalVolume newPtrPhysVol,
const G4AffineTransform levelAbove,
const G4AffineTransform relativeCurrent,
EVolume  newVolTp,
G4int  newRepNo = -1 
)

Definition at line 45 of file G4NavigationLevel.cc.

50 {
51  fLevelRep = new G4NavigationLevelRep( pPhysVol,
52  levelAbove,
53  relativeCurrent,
54  volTp,
55  repNo );
56 }
G4NavigationLevel::G4NavigationLevel ( )

Definition at line 58 of file G4NavigationLevel.cc.

59 {
60  fLevelRep = new G4NavigationLevelRep();
61 }
G4NavigationLevel::G4NavigationLevel ( const G4NavigationLevel right)

Definition at line 63 of file G4NavigationLevel.cc.

64  : fLevelRep( right.fLevelRep )
65 {
66  fLevelRep->AddAReference();
67 }

Here is the call graph for this function:

G4NavigationLevel::~G4NavigationLevel ( )

Definition at line 69 of file G4NavigationLevel.cc.

70 {
71  if( fLevelRep->RemoveAReference() ) { delete fLevelRep; }
72 }

Here is the call graph for this function:

Member Function Documentation

G4VPhysicalVolume* G4NavigationLevel::GetPhysicalVolume ( ) const
inline
const G4AffineTransform* G4NavigationLevel::GetPtrTransform ( ) const
inline
G4int G4NavigationLevel::GetReplicaNo ( ) const
inline
const G4AffineTransform& G4NavigationLevel::GetTransform ( ) const
inline
const G4AffineTransform* G4NavigationLevel::GetTransformPtr ( ) const
inline
EVolume G4NavigationLevel::GetVolumeType ( ) const
inline
void G4NavigationLevel::operator delete ( void aLevel)
inline
void G4NavigationLevel::operator delete ( void ptr,
void  
)
inline
void* G4NavigationLevel::operator new ( size_t  )
inline
void* G4NavigationLevel::operator new ( size_t  ,
void  
)
inline
G4NavigationLevel & G4NavigationLevel::operator= ( const G4NavigationLevel right)

Definition at line 74 of file G4NavigationLevel.cc.

75 {
76  if ( &right != this )
77  {
78  right.fLevelRep->AddAReference();
79  if( fLevelRep->RemoveAReference() ) { delete fLevelRep; }
80  fLevelRep = right.fLevelRep;
81  }
82  return *this;
83 }

Here is the call graph for this function:


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