Type erased form of a core_dimensions.
More...
#include <rexlib/core/operation/shape_rule/core_dimensions_descriptor.hpp>
Type erased form of a core_dimensions.
- See also
- core_dimensions
◆ core_dimensions_descriptor()
Construct a core dimensions descriptor.
- Parameters
-
| slots | The slot of every core axis after the run. The table must outlive the descriptor. |
| has_run | Whether a run leads the core axes. |
| run_domain | The extents every axis of the run may take. |
◆ get_run_domain()
Get the extents every axis of the run may take.
- Returns
- const extent_domain& The domain.
◆ get_slots()
Get the slot of every core axis after the run.
- Returns
- span<const extent_slot_descriptor> One entry per axis.
◆ has_run()
| bool rexlib::core_dimensions_descriptor::has_run |
( |
| ) |
const |
|
noexcept |
Check whether a run leads the core axes.
- Returns
- true A run leads them.
-
false There is no run.
◆ is_empty()
| bool rexlib::core_dimensions_descriptor::is_empty |
( |
| ) |
const |
|
noexcept |
Check whether the core has no axes: neither a run nor a slot.
- Returns
- true The core has no axes.
-
false The core has a run or a slot.
The documentation for this class was generated from the following file: