Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Math
Inheritance Hierarchy
- TRangeBound
- FDateRangeBound
- FDoubleRangeBound
- FFloatRangeBound
- FFrameNumberRangeBound
- FInt16RangeBound
- FInt32RangeBound
- FInt64RangeBound
- FInt8RangeBound
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/Math/RangeBound.h |
Include | #include "Math/RangeBound.h" |
Syntax
template<typename ElementType>
class TRangeBound
Remarks
Template for range bounds.
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
TRangeBound () |
Default constructor. | |
![]() |
TRangeBound
(
ElementValueOrConstRef InValue |
Creates a closed bound that includes the specified value. |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
TRangeBound | Exclusive
(
ElementValueOrConstRef Value |
Returns a closed bound that excludes the specified value. |
![]() ![]() |
TRangeBound | FlipInclusion
(
const TRangeBound& Bound |
Returns the given bound with its inclusion flipped between inclusive and exclusive. |
![]() ![]() |
ElementValueOrConstRef | GetValue () |
Gets the bound's value. |
![]() ![]() |
TRangeBound | Inclusive
(
ElementValueOrConstRef Value |
Returns a closed bound that includes the specified value. |
![]() ![]() |
bool | IsClosed () |
Checks whether the bound is closed. |
![]() ![]() |
bool | IsExclusive () |
Checks whether the bound is exclusive. |
![]() ![]() |
bool | IsInclusive () |
Checks whether the bound is inclusive. |
![]() ![]() |
bool | IsOpen () |
Checks whether the bound is open. |
![]() ![]() |
const TRangeBound & | MaxLower
(
const TRangeBound& A, |
Returns the greater of two lower bounds. |
![]() ![]() |
const TRangeBound & | MaxUpper
(
const TRangeBound& A, |
Returns the greater of two upper bounds. |
![]() ![]() |
const TRangeBound & | MinLower
(
const TRangeBound& A, |
Returns the lesser of two lower bounds. |
![]() ![]() |
const TRangeBound & | MinUpper
(
const TRangeBound& A, |
Returns the lesser of two upper bounds. |
![]() ![]() |
TRangeBound | Open () |
Returns an open bound. |
![]() |
void | SetValue
(
ElementValueOrConstRef NewValue |
Sets the bound's value, maintining the inclusivity of the bound |
Operators
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
bool | operator!=
(
const TRangeBound& Other |
Compares this range with the specified bound for inequality. |
![]() ![]() |
bool | operator==
(
const TRangeBound& Other |
Compares this bound with the specified bound for equality. |
Typedefs
Name | Description |
---|---|
ElementValueOrConstRef |