|
Celeritas 0.7.0-dev.255+develop.ab37f340
|
Interface for accessing the volume graph. More...
#include <VolumeVisitor.hh>
Public Types | |
| using | VolumeRef = V |
| A lightweight identifier for a volume: OpaqueId or pointer. | |
| using | VolumeInstanceRef = VI |
| A lightweight identifier for a volume instance. | |
| using | ContainerVolInstRef = CVI |
| Container of child volume instances. | |
Public Member Functions | |
| virtual VolumeRef | volume (VolumeInstanceRef parent)=0 |
| Outgoing volume node from an instance. | |
| virtual ContainerVolInstRef | children (VolumeRef parent)=0 |
| Outgoing instance nodes from a volume. | |
Interface for accessing the volume graph.
| V | Lightweight volume reference |
| VI | Lightweight volume instance reference |
| CVI | Container of volume instance references |
Note that this helper class is a template interface specification, not a required base class. Providing the type aliases and member functions is all that's needed.