![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <RangeBound.h>
Public Types | |
| typedef TCallTraits< ElementType >::ParamType | ElementValueOrConstRef |
Public Member Functions | |
| TRangeBound () | |
| TRangeBound (ElementValueOrConstRef InValue) | |
| bool | operator== (const TRangeBound &Other) const |
| bool | operator!= (const TRangeBound &Other) const |
| ElementValueOrConstRef | GetValue () const |
| void | SetValue (ElementValueOrConstRef NewValue) |
| UE_FORCEINLINE_HINT bool | IsClosed () const |
| UE_FORCEINLINE_HINT bool | IsExclusive () const |
| UE_FORCEINLINE_HINT bool | IsInclusive () const |
| UE_FORCEINLINE_HINT bool | IsOpen () const |
Static Public Member Functions | |
| static TRangeBound | Exclusive (ElementValueOrConstRef Value) |
| static TRangeBound | Inclusive (ElementValueOrConstRef Value) |
| static TRangeBound | Open () |
| static TRangeBound | FlipInclusion (const TRangeBound &Bound) |
| static const TRangeBound & | MaxLower (const TRangeBound &A, const TRangeBound &B) |
| static const TRangeBound & | MaxUpper (const TRangeBound &A, const TRangeBound &B) |
| static const TRangeBound & | MinLower (const TRangeBound &A, const TRangeBound &B) |
| static const TRangeBound & | MinUpper (const TRangeBound &A, const TRangeBound &B) |
Friends | |
| class FArchive & | operator<< (class FArchive &Ar, TRangeBound &Bound) |
| uint32 | GetTypeHash (const TRangeBound &Bound) |
Template for range bounds.
| typedef TCallTraits<ElementType>::ParamType TRangeBound< ElementType >::ElementValueOrConstRef |
|
inline |
|
inline |
|
inlinestatic |
Returns a closed bound that excludes the specified value.
| Value | The bound value. |
|
inlinestatic |
Returns the given bound with its inclusion flipped between inclusive and exclusive.
If the bound is open it is returned unchanged.
|
inline |
Gets the bound's value.
Use IsClosed() to verify that this bound is closed before calling this method.
|
inlinestatic |
Returns a closed bound that includes the specified value.
| Value | The bound value. |
|
inline |
Checks whether the bound is closed.
|
inline |
Checks whether the bound is exclusive.
|
inline |
Checks whether the bound is inclusive.
|
inline |
Checks whether the bound is open.
|
inlinestatic |
Returns the greater of two lower bounds.
| A | The first lower bound. |
| B | The second lower bound. |
|
inlinestatic |
Returns the greater of two upper bounds.
| A | The first upper bound. |
| B | The second upper bound. |
|
inlinestatic |
Returns the lesser of two lower bounds.
| A | The first lower bound. |
| B | The second lower bound. |
|
inlinestatic |
Returns the lesser of two upper bounds.
| A | The first upper bound. |
| B | The second upper bound. |
|
inlinestatic |
Returns an open bound.
|
inline |
Compares this range with the specified bound for inequality.
| Other | The bound to compare with. |
|
inline |
Compares this bound with the specified bound for equality.
| Other | The bound to compare with. |
|
inline |
Sets the bound's value, maintining the inclusivity of the bound
Use IsClosed() to verify that this bound is closed before calling this method.
| NewValue | New bound value. |
|
friend |
Gets the hash for the specified bound.
| Bound | The bound to get the hash for. |
|
friend |
Serializes the given bound from or into the specified archive.
| Ar | The archive to serialize from or into. |
| Bound | The bound to serialize. |