UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
uLang::SIdxRange Struct Reference

#include <IdxRange.h>

Public Member Functions

ULANG_FORCEINLINE SIdxRange ()
 
ULANG_FORCEINLINE SIdxRange (ENoInit)
 
ULANG_FORCEINLINE SIdxRange (uint32_t Length)
 
ULANG_FORCEINLINE SIdxRange (uint32_t Begin, uint32_t End)
 
ULANG_FORCEINLINE void Reset ()
 
ULANG_FORCEINLINE uint32_t GetLength () const
 
ULANG_FORCEINLINE bool IsEmpty () const
 
ULANG_FORCEINLINE bool IsOrdered () const
 
ULANG_FORCEINLINE void Set (uint32_t Begin, uint32_t End)
 
ULANG_FORCEINLINE void AdvanceToEnd ()
 
ULANG_FORCEINLINE bool operator== (const SIdxRange &Other) const
 
ULANG_FORCEINLINE bool operator!= (const SIdxRange &Other) const
 

Static Public Member Functions

static ULANG_FORCEINLINE SIdxRange MakeSpan (uint32_t Begin, uint32_t Length)
 

Public Attributes

uint32_t _Begin
 Beginning of index range.
 
uint32_t _End
 End of index range.
 

Detailed Description

Specifies a range using both beginning and ending indexes. Often used with CUTF8StringView and SAxisRange (row and column) CUTF8StringView can convert to and from SIdxRange and SAxisRange.

Constructor & Destructor Documentation

◆ SIdxRange() [1/4]

ULANG_FORCEINLINE uLang::SIdxRange::SIdxRange ( )
inline

◆ SIdxRange() [2/4]

ULANG_FORCEINLINE uLang::SIdxRange::SIdxRange ( ENoInit  )
inline

◆ SIdxRange() [3/4]

ULANG_FORCEINLINE uLang::SIdxRange::SIdxRange ( uint32_t  Length)
inline

◆ SIdxRange() [4/4]

ULANG_FORCEINLINE uLang::SIdxRange::SIdxRange ( uint32_t  Begin,
uint32_t  End 
)
inline

Member Function Documentation

◆ AdvanceToEnd()

ULANG_FORCEINLINE void uLang::SIdxRange::AdvanceToEnd ( )
inline

◆ GetLength()

ULANG_FORCEINLINE uint32_t uLang::SIdxRange::GetLength ( ) const
inline

◆ IsEmpty()

ULANG_FORCEINLINE bool uLang::SIdxRange::IsEmpty ( ) const
inline

◆ IsOrdered()

ULANG_FORCEINLINE bool uLang::SIdxRange::IsOrdered ( ) const
inline

◆ MakeSpan()

static ULANG_FORCEINLINE SIdxRange uLang::SIdxRange::MakeSpan ( uint32_t  Begin,
uint32_t  Length 
)
inlinestatic

◆ operator!=()

ULANG_FORCEINLINE bool uLang::SIdxRange::operator!= ( const SIdxRange Other) const
inline

◆ operator==()

ULANG_FORCEINLINE bool uLang::SIdxRange::operator== ( const SIdxRange Other) const
inline

◆ Reset()

ULANG_FORCEINLINE void uLang::SIdxRange::Reset ( )
inline

◆ Set()

ULANG_FORCEINLINE void uLang::SIdxRange::Set ( uint32_t  Begin,
uint32_t  End 
)
inline

Member Data Documentation

◆ _Begin

uint32_t uLang::SIdxRange::_Begin

Beginning of index range.

◆ _End

uint32_t uLang::SIdxRange::_End

End of index range.


The documentation for this struct was generated from the following file: