#include <CeresEngine/Math/Range.hpp>
|
| constexpr | TRange () noexcept=default |
| |
| constexpr | TRange (OffsetT offset, LengthT length) noexcept |
| |
| constexpr | TRange (const TRange &) noexcept=default |
| |
| constexpr TRange & | operator= (const TRange &) noexcept=default |
| |
| constexpr bool | operator[] (OffsetT off) const noexcept |
| | Check if the range includes the offset off.
|
| |
| constexpr | operator bool () const noexcept |
| | Checks if the length is != 0.
|
| |
| constexpr bool | empty () const noexcept |
| | Checks if the length is == 0.
|
| |
| constexpr void | clear () noexcept |
| | Clears the range.
|
| |
| constexpr OffsetT | begin () const noexcept |
| |
| constexpr OffsetT | end () const noexcept |
| |
|
| OffsetT | offset = 0 |
| | The range starting offset.
|
| |
| LengthT | length = 0 |
| | The range length.
|
| |
◆ TRange() [1/3]
template<typename OffsetT = UInt64, typename LengthT = OffsetT>
◆ TRange() [2/3]
template<typename OffsetT = UInt64, typename LengthT = OffsetT>
| constexpr Math::TRange< OffsetT, LengthT >::TRange |
( |
OffsetT |
offset, |
|
|
LengthT |
length |
|
) |
| |
|
inlineconstexprnoexcept |
◆ TRange() [3/3]
template<typename OffsetT = UInt64, typename LengthT = OffsetT>
◆ begin()
template<typename OffsetT = UInt64, typename LengthT = OffsetT>
| constexpr OffsetT Math::TRange< OffsetT, LengthT >::begin |
( |
| ) |
const |
|
inlineconstexprnoexcept |
◆ clear()
template<typename OffsetT , typename LengthT >
◆ empty()
template<typename OffsetT , typename LengthT >
| constexpr bool Math::TRange< OffsetT, LengthT >::empty |
( |
| ) |
const |
|
constexprnoexcept |
Checks if the length is == 0.
◆ end()
template<typename OffsetT = UInt64, typename LengthT = OffsetT>
| constexpr OffsetT Math::TRange< OffsetT, LengthT >::end |
( |
| ) |
const |
|
inlineconstexprnoexcept |
◆ operator bool()
template<typename OffsetT , typename LengthT >
| constexpr Math::TRange< OffsetT, LengthT >::operator bool |
( |
| ) |
const |
|
explicitconstexprnoexcept |
Checks if the length is != 0.
◆ operator=()
template<typename OffsetT = UInt64, typename LengthT = OffsetT>
◆ operator[]()
template<typename OffsetT , typename LengthT >
| constexpr bool Math::TRange< OffsetT, LengthT >::operator[] |
( |
OffsetT |
off | ) |
const |
|
constexprnoexcept |
Check if the range includes the offset off.
◆ length
template<typename OffsetT = UInt64, typename LengthT = OffsetT>
◆ offset
template<typename OffsetT = UInt64, typename LengthT = OffsetT>
The range starting offset.
The documentation for this struct was generated from the following file:
- /Users/Rogiel/Developer/CeresEngine/Engine/Sources/CeresEngine/Math/Range.hpp