|
| constexpr | TreeKey (Key key) |
| |
| constexpr | TreeKey (Key key, depth_type depth) |
| |
|
constexpr | TreeKey (TreeKey const &) noexcept=default |
| |
| constexpr depth_type | depth () const noexcept |
| |
| constexpr key_type | offset () const noexcept |
| |
| constexpr key_type | offset (depth_type depth) const noexcept |
| |
|
constexpr TreeKey & | operator= (TreeKey const &) noexcept=default |
| |
| constexpr TreeKey | parent () const |
| |
| constexpr void | setDepth (depth_type depth) noexcept |
| | Change the depth of the key.
|
| |
| void | swap (TreeKey &other) noexcept |
| |
| constexpr TreeKey | toDepth (depth_type depth) const |
| |
| constexpr bool | valid () const noexcept |
| |
|
constexpr | Vec () noexcept=default |
| | Default constructor; initializes all elements to zero.
|
| |
| constexpr auto | begin (this auto &self) noexcept |
| | Returns an iterator to the first element.
|
| |
| constexpr auto | data (this auto &self) noexcept |
| | Returns a pointer to the underlying element array.
|
| |
| constexpr auto | end (this auto &self) noexcept |
| | Returns a past-the-end iterator.
|
| |
| constexpr | explicit (!std::is_same_v< std::uint32_t, U >) Vec(Vec< Dim |
| | Converting constructor from a vector with a different element type.
|
| |
| | explicit (sizeof...(Args)==1) const expr Vec(Args... args) noexcept |
| | Constructs a vector from up to Dim individual element values.
|
| |
| constexpr Vec & | operator%= (std::uint32_t rhs) noexcept |
| | Computes the remainder of every component divided by scalar rhs (integral types only).
|
| |
| constexpr Vec & | operator%= (Vec const &rhs) noexcept |
| | Computes the remainder of each component divided by the corresponding component of rhs (integral types only).
|
| |
| constexpr Vec & | operator&= (std::uint32_t rhs) noexcept |
| | Bitwise ANDs every component with scalar rhs (integral types only).
|
| |
| constexpr Vec & | operator&= (Vec const &rhs) noexcept |
| | Bitwise ANDs each component with the corresponding component of rhs (integral types only).
|
| |
| constexpr Vec & | operator*= (std::uint32_t rhs) noexcept |
| | Multiplies every component by scalar rhs.
|
| |
| constexpr Vec & | operator*= (Vec const &rhs) noexcept |
| | Multiplies each component by the corresponding component of rhs.
|
| |
| constexpr Vec | operator+ () const noexcept |
| | Unary identity operator.
|
| |
| constexpr Vec & | operator+= (std::uint32_t rhs) noexcept |
| | Adds scalar rhs to every component.
|
| |
| constexpr Vec & | operator+= (Vec const &rhs) noexcept |
| | Adds each component of rhs to the corresponding component.
|
| |
| constexpr Vec | operator- () const noexcept |
| | Unary negation operator.
|
| |
| constexpr Vec & | operator-= (std::uint32_t rhs) noexcept |
| | Subtracts scalar rhs from every component.
|
| |
| constexpr Vec & | operator-= (Vec const &rhs) noexcept |
| | Subtracts each component of rhs from the corresponding component.
|
| |
| constexpr Vec & | operator/= (std::uint32_t rhs) noexcept |
| | Divides every component by scalar rhs.
|
| |
| constexpr Vec & | operator/= (Vec const &rhs) noexcept |
| | Divides each component by the corresponding component of rhs.
|
| |
| constexpr Vec & | operator<<= (std::uint32_t rhs) noexcept |
| | Left-shifts every component by scalar rhs (integral types only).
|
| |
| constexpr Vec & | operator<<= (Vec const &rhs) noexcept |
| | Left-shifts each component by the corresponding component of rhs (integral types only).
|
| |
| constexpr bool | operator== (Vec const &) const=default |
| | Compares two vectors for equality (component-wise).
|
| |
| constexpr Vec & | operator>>= (std::uint32_t rhs) noexcept |
| | Right-shifts every component by scalar rhs (integral types only).
|
| |
| constexpr Vec & | operator>>= (Vec const &rhs) noexcept |
| | Right-shifts each component by the corresponding component of rhs (integral types only).
|
| |
| constexpr auto & | operator[] (this auto &self, size_type i) noexcept |
| | Accesses the element at index i.
|
| |
| constexpr Vec & | operator^= (std::uint32_t rhs) noexcept |
| | Bitwise XORs every component with scalar rhs (integral types only).
|
| |
| constexpr Vec & | operator^= (Vec const &rhs) noexcept |
| | Bitwise XORs each component with the corresponding component of rhs (integral types only).
|
| |
| constexpr Vec & | operator|= (std::uint32_t rhs) noexcept |
| | Bitwise ORs every component with scalar rhs (integral types only).
|
| |
| constexpr Vec & | operator|= (Vec const &rhs) noexcept |
| | Bitwise ORs each component with the corresponding component of rhs (integral types only).
|
| |
| constexpr Vec | operator~ () const noexcept |
| | Bitwise NOT operator (integral types only).
|
| |
| constexpr auto & | w (this auto &self) noexcept |
| | Accesses the fourth component (w).
|
| |
| constexpr auto & | x (this auto &self) noexcept |
| | Accesses the first component (x).
|
| |
| constexpr auto & | y (this auto &self) noexcept |
| | Accesses the second component (y).
|
| |
| constexpr auto & | z (this auto &self) noexcept |
| | Accesses the third component (z).
|
| |
template<std::size_t Dim>
class ufo::TreeKey< Dim >
Definition at line 60 of file key.hpp.