|
| | ConstUnitMap (const double *ptr) |
| | Construct a read-only view over a raw buffer.
|
| | ConstUnitMap (const UnitMap< UnitTags... > &m) |
| | Construct from a mutable UnitMap (const widening).
|
|
| ConstUnitMap (const ConstUnitMap &)=delete |
|
ConstUnitMap & | operator= (const ConstUnitMap &)=delete |
|
| ConstUnitMap (ConstUnitMap &&)=default |
| | Move constructor.
|
|
ConstUnitMap & | operator= (ConstUnitMap &&)=default |
| | Move assignment.
|
template<std::size_t N>
requires ValidIndex<N, UnitTags...> |
| constexpr auto | Get () const |
| | Get the N-th element with its unit.
|
|
ConstMapType | Raw () const |
| | Read-only access to the underlying Eigen map.
|
| UnitVector< UnitTags... > | ToVector () const |
| | Produce an owned UnitVector copy of the mapped data.
|
|
| operator UnitVector< UnitTags... > () const |
| | Implicit conversion to UnitVector (copies data).
|
|
constexpr auto | X () const |
| | Access the first element (x).
|
|
constexpr auto | Y () const |
| | Access the second element (y).
|
|
constexpr auto | Z () const |
| | Access the third element (z).
|
|
constexpr auto | W () const |
| | Access the fourth element (w).
|
template<typename... UnitTags>
class valor::EigenUnit::ConstUnitMap< UnitTags >
A non-owning, read-only unit-safe view over a const double* buffer.
- Template Parameters
-
| UnitTags | The unit types for each element. |