G4SmartVoxelProxy Class Reference

#include <G4SmartVoxelProxy.hh>


Public Member Functions

 G4SmartVoxelProxy (G4SmartVoxelHeader *pHeader)
 G4SmartVoxelProxy (G4SmartVoxelNode *pNode)
 ~G4SmartVoxelProxy ()
G4bool IsHeader () const
G4bool IsNode () const
G4SmartVoxelNodeGetNode () const
G4SmartVoxelHeaderGetHeader () const
G4bool operator== (const G4SmartVoxelProxy &v) const


Detailed Description

Definition at line 54 of file G4SmartVoxelProxy.hh.


Constructor & Destructor Documentation

G4SmartVoxelProxy::G4SmartVoxelProxy ( G4SmartVoxelHeader pHeader  )  [inline]

Definition at line 59 of file G4SmartVoxelProxy.hh.

00060       : fHeader(pHeader), fNode(0) {}

G4SmartVoxelProxy::G4SmartVoxelProxy ( G4SmartVoxelNode pNode  )  [inline]

Definition at line 63 of file G4SmartVoxelProxy.hh.

00064       : fHeader(0), fNode(pNode) {}

G4SmartVoxelProxy::~G4SmartVoxelProxy (  ) 

Definition at line 39 of file G4SmartVoxelProxy.cc.

00040 {
00041 }


Member Function Documentation

G4SmartVoxelHeader * G4SmartVoxelProxy::GetHeader (  )  const [inline]

Definition at line 54 of file G4SmartVoxelProxy.icc.

Referenced by G4SmartVoxelHeader::CollectEquivalentHeaders(), G4VoxelNavigation::LocateNextVoxel(), G4SmartVoxelHeader::operator==(), G4VoxelSafety::SafetyForVoxelHeader(), and G4VoxelNavigation::VoxelLocate().

00055 {
00056   assert(fHeader != 0);
00057   return fHeader;
00058 }

G4SmartVoxelNode * G4SmartVoxelProxy::GetNode (  )  const [inline]

Definition at line 47 of file G4SmartVoxelProxy.icc.

Referenced by G4SmartVoxelHeader::CollectEquivalentNodes(), G4ParameterisedNavigation::ComputeSafety(), G4VoxelNavigation::LocateNextVoxel(), G4SmartVoxelHeader::operator==(), G4ParameterisedNavigation::ParamVoxelLocate(), G4SmartVoxelHeader::RefineNodes(), G4VoxelSafety::SafetyForVoxelHeader(), and G4VoxelNavigation::VoxelLocate().

00048 {
00049   assert(fNode != 0);
00050   return fNode;
00051 }

G4bool G4SmartVoxelProxy::IsHeader (  )  const [inline]

Definition at line 35 of file G4SmartVoxelProxy.icc.

Referenced by G4SmartVoxelHeader::CollectEquivalentHeaders(), and G4SmartVoxelHeader::operator==().

00036 {
00037   return (fHeader) ? true:false;
00038 }   

G4bool G4SmartVoxelProxy::IsNode (  )  const [inline]

Definition at line 41 of file G4SmartVoxelProxy.icc.

Referenced by G4VoxelNavigation::LocateNextVoxel(), G4SmartVoxelHeader::operator==(), G4VoxelSafety::SafetyForVoxelHeader(), and G4VoxelNavigation::VoxelLocate().

00042 {
00043   return (fNode) ? true:false;
00044 }

G4bool G4SmartVoxelProxy::operator== ( const G4SmartVoxelProxy v  )  const [inline]

Definition at line 61 of file G4SmartVoxelProxy.icc.

00062 {
00063   return (this==&right) ? true : false;
00064 }


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