stim::volumetric_body_handle class

A handle to a volumetric body.

Constructors, destructors, conversion operators

operator bool() const explicit constexpr noexcept
Returns true if this handle represents a volumetric_body (i.e is not null).
operator object_handle() const noexcept
Casts this handle to a generic object_handle.
volumetric_body_handle() defaulted constexpr noexcept
Default-constructs a null handle.
volumetric_body_handle(const volumetric_body_handle&) defaulted constexpr noexcept
Copy constructor.

Public functions

auto flags() const -> volumetric_body_flags noexcept
Gets the flags associated with this volumetric body, if any.
auto operator=(const volumetric_body_handle&) -> volumetric_body_handle& defaulted noexcept
Copy-assignment operator.