Navigation
API > API/Runtime > API/Runtime/uLangCore > API/Runtime/uLangCore/uLang > API/Runtime/uLangCore/uLang/Common > API/Runtime/uLangCore/uLang/Common/Text
References
| Module | uLangCore |
| Header | /Engine/Source/Runtime/Solaris/uLangCore/Public/uLang/Common/Text/IdxRange.h |
| Include | #include "uLang/Common/Text/IdxRange.h" |
Syntax
struct SIdxRange
Remarks
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.
Variables
| Type | Name | Description | |
|---|---|---|---|
| uint32_t | _Begin | Beginning of index range. | |
| uint32_t | _End | End of index range. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
| ULANG_FORCEINLINE | SIdxRange () |
||
| ULANG_FORCEINLINE | |||
| ULANG_FORCEINLINE | SIdxRange
(
uint32_t Length |
||
| ULANG_FORCEINLINE | SIdxRange
(
uint32_t Begin, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| ULANG_FORCEINLINE void | AdvanceToEnd () |
||
| ULANG_FORCEINLINE uint32_t | GetLength () |
||
| ULANG_FORCEINLINE bool | IsEmpty () |
||
| ULANG_FORCEINLINE bool | IsOrdered () |
||
| ULANG_FORCEINLINESIdxRange | MakeSpan
(
uint32_t Begin, |
||
| ULANG_FORCEINLINE void | Reset () |
||
| ULANG_FORCEINLINE void | Set
(
uint32_t Begin, |
Operators
| Type | Name | Description | |
|---|---|---|---|
| ULANG_FORCEINLINE bool | operator!=
(
const SIdxRange& Other |
||
| ULANG_FORCEINLINE bool | operator==
(
const SIdxRange& Other |