Celeritas  0.5.0-56+6b053cd
Public Member Functions | List of all members
celeritas::orangeinp::ObjectInterface Class Referenceabstract

Base class for constructing high-level CSG objects in ORANGE. More...

#include <ObjectInterface.hh>

Inheritance diagram for celeritas::orangeinp::ObjectInterface:
Inheritance graph
[legend]

Public Types

Type aliases
using SPConstObject = std::shared_ptr< ObjectInterface const >
 
using VolumeBuilder = detail::VolumeBuilder
 

Public Member Functions

virtual ~ObjectInterface ()=0
 Anchored default destructor.
 
virtual std::string_view label () const =0
 Short unique name of this object.
 
virtual NodeId build (VolumeBuilder &) const =0
 Construct a volume from this object.
 
virtual void output (JsonPimpl *) const =0
 Write the region to a JSON object.
 

Protected Member Functions

 ObjectInterface ()=default
 
 CELER_DEFAULT_COPY_MOVE (ObjectInterface)
 

Detailed Description

Base class for constructing high-level CSG objects in ORANGE.

Constructor & Destructor Documentation

◆ ObjectInterface()

celeritas::orangeinp::ObjectInterface::ObjectInterface ( )
protecteddefault

Allow construction and assignment only through daughter classes

Member Function Documentation

◆ CELER_DEFAULT_COPY_MOVE()

celeritas::orangeinp::ObjectInterface::CELER_DEFAULT_COPY_MOVE ( ObjectInterface  )
protected

Allow construction and assignment only through daughter classes


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