Celeritas 0.7.0-dev.245+develop.a7be925e
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
celeritas::orangeinp::PolySolidBase Class Reference

A segmented stack of same-type shapes with an azimuthal truncation. More...

#include <PolySolid.hh>

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

Public Member Functions

 ~PolySolidBase () override
 Anchored default virtual destructor.
 
std::string_view label () const final
 Get the user-provided label.
 
PolySegments constsegments () const
 Axial segments.
 
EnclosedAzi enclosed_azi () const
 Optional azimuthal angular restriction.
 
- Public Member Functions inherited from celeritas::orangeinp::ObjectInterface
virtual ~ObjectInterface ()=0
 Anchored default destructor.
 
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

 PolySolidBase (std::string &&label, PolySegments &&segments, EnclosedAzi &&enclosed)
 Build with label, axial segments, optional restriction.
 
 PolySolidBase (PolySolidBase const &)=default
 
PolySolidBaseoperator= (PolySolidBase const &)=default
 
 PolySolidBase (PolySolidBase &&)=default
 
PolySolidBaseoperator= (PolySolidBase &&)=default
 
- Protected Member Functions inherited from celeritas::orangeinp::ObjectInterface
 ObjectInterface (ObjectInterface const &)=default
 
ObjectInterfaceoperator= (ObjectInterface const &)=default
 
 ObjectInterface (ObjectInterface &&)=default
 
ObjectInterfaceoperator= (ObjectInterface &&)=default
 

Additional Inherited Members

- Public Types inherited from celeritas::orangeinp::ObjectInterface
using SPConstObject = std::shared_ptr< ObjectInterface const >
 
using VolumeBuilder = detail::VolumeBuilder
 

Detailed Description

A segmented stack of same-type shapes with an azimuthal truncation.

Constructor & Destructor Documentation

◆ PolySolidBase() [1/2]

celeritas::orangeinp::PolySolidBase::PolySolidBase ( PolySolidBase const )
protecteddefault

Allow construction and assignment only through daughter classes

◆ PolySolidBase() [2/2]

celeritas::orangeinp::PolySolidBase::PolySolidBase ( PolySolidBase &&  )
protecteddefault

Allow construction and assignment only through daughter classes

Member Function Documentation

◆ label()

std::string_view celeritas::orangeinp::PolySolidBase::label ( ) const
inlinefinalvirtual

Get the user-provided label.

Implements celeritas::orangeinp::ObjectInterface.

◆ operator=() [1/2]

PolySolidBase & celeritas::orangeinp::PolySolidBase::operator= ( PolySolidBase &&  )
protecteddefault

Allow construction and assignment only through daughter classes

◆ operator=() [2/2]

PolySolidBase & celeritas::orangeinp::PolySolidBase::operator= ( PolySolidBase const )
protecteddefault

Allow construction and assignment only through daughter classes


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