G4SmartVoxelProxy is a class for proxying smart voxels. The class represents either a header (in turn referring to more VoxelProxies) or a node. If created as a node, calls to GetHeader() cause an exception, and likewise GetNode() when a header.
More...
#include <G4SmartVoxelProxy.hh>
G4SmartVoxelProxy is a class for proxying smart voxels. The class represents either a header (in turn referring to more VoxelProxies) or a node. If created as a node, calls to GetHeader() cause an exception, and likewise GetNode() when a header.
Definition at line 57 of file G4SmartVoxelProxy.hh.
◆ G4SmartVoxelProxy() [1/2]
Constructs a Proxy for the specified header.
- Parameters
-
| [in] | pHeader | Pointer to the voxel header. |
Referenced by operator==().
◆ G4SmartVoxelProxy() [2/2]
Constructs a Proxy for the specified node.
- Parameters
-
| [in] | pNode | Pointer to the voxel node. |
◆ ~G4SmartVoxelProxy()
| G4SmartVoxelProxy::~G4SmartVoxelProxy |
( |
| ) |
|
|
default |
Default destructor. Not responsible for proxied objects.
◆ GetHeader()
◆ GetNode()
◆ IsHeader()
| G4bool G4SmartVoxelProxy::IsHeader |
( |
| ) |
const |
|
inline |
◆ IsNode()
| G4bool G4SmartVoxelProxy::IsNode |
( |
| ) |
const |
|
inline |
◆ operator==()
Equality operator. True when objects share the same address.
The documentation for this class was generated from the following file: