Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Math/RangeBound.h |
Include |
#include "Math/RangeBound.h" |
template<typename ElementType>
class TRangeBound
Template for range bounds.
Name | Description | |
---|---|---|
|
TRangeBound() |
Default constructor. |
|
TRangeBound ( |
Creates a closed bound that includes the specified value. |
Name | Description | ||
---|---|---|---|
|
Exclusive ( |
Returns a closed bound that excludes the specified value. |
|
|
FlipInclusion ( |
Returns the given bound with its inclusion flipped between inclusive and exclusive. |
|
|
ElementValue... |
GetValue() |
Gets the bound's value. |
|
Inclusive ( |
Returns a closed bound that includes the specified value. |
|
|
IsClosed() |
Checks whether the bound is closed. |
|
|
IsExclusive() |
Checks whether the bound is exclusive. |
|
|
IsInclusive() |
Checks whether the bound is inclusive. |
|
|
IsOpen() |
Checks whether the bound is open. |
|
|
const TRange... |
MaxLower ( |
Returns the greater of two lower bounds. |
|
const TRange... |
MaxUpper ( |
Returns the greater of two upper bounds. |
|
const TRange... |
MinLower ( |
Returns the lesser of two lower bounds. |
|
const TRange... |
MinUpper ( |
Returns the lesser of two upper bounds. |
|
Open() |
Returns an open bound. |
|
|
SetValue ( |
Sets the bound's value, maintining the inclusivity of the bound |
Name | Description | ||
---|---|---|---|
|
operator!= ( |
Compares this range with the specified bound for inequality. |
|
|
operator== ( |
Compares this bound with the specified bound for equality. |
Name |
Description |
---|---|
ElementValueOrConstRef |