2#ifndef FromG4VSolid_HPP
3#define FromG4VSolid_HPP
50 G4VSolid *SolidConstructor(
const G4String &name)
override {
51 throw std::runtime_error(
52 "FromG4VSolid::SolidConstructor(const G4String &name) not implemented.\n"
53 "FromG4VSolid is constructed using prebuilt a G4VSolid pointer.");
A solid buider class that just wrap an existing G4VSolid.
friend FromG4VSolidPtr CreateFromG4VSolidBuider(G4VSolid *solid)
FromG4VSolid & operator=(const FromG4VSolid &other)=delete
A polymorphic, type-erased builder referencing any specialized builder.
VolumeBuilder: Common functionality for volume builder classes.
A wrapper for std::shared_ptr that allows and facilitates many implicit(i) type conversions.
FromG4VSolidPtr CreateFromG4VSolid(G4VSolid *solid)
Constructor to make a builder from an Existing Geant solid.
SharedPtr< FromG4VSolid > FromG4VSolidPtr