Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
FTextRange Struct Reference

#include <UnrealString.h>

Public Member Functions

 FTextRange ()
 
 FTextRange (int32 InBeginIndex, int32 InEndIndex)
 
FORCEINLINE bool operator== (const FTextRange &Other) const
 
FORCEINLINE bool operator!= (const FTextRange &Other) const
 
int32 Len () const
 
bool IsEmpty () const
 
void Offset (int32 Amount)
 
bool Contains (int32 Index) const
 
bool InclusiveContains (int32 Index) const
 
FTextRange Intersect (const FTextRange &Other) const
 

Static Public Member Functions

static void CalculateLineRangesFromString (const FString &Input, TArray< FTextRange > &LineRanges)
 

Public Attributes

int32 BeginIndex
 
int32 EndIndex
 

Friends

uint32 GetTypeHash (const FTextRange &Key)
 

Detailed Description

Definition at line 2929 of file UnrealString.h.

Constructor & Destructor Documentation

◆ FTextRange() [1/2]

FTextRange::FTextRange ( )
inline

Definition at line 2931 of file UnrealString.h.

◆ FTextRange() [2/2]

FTextRange::FTextRange ( int32 InBeginIndex,
int32 InEndIndex )
inline

Definition at line 2938 of file UnrealString.h.

+ Here is the caller graph for this function:

Member Function Documentation

◆ CalculateLineRangesFromString()

void FTextRange::CalculateLineRangesFromString ( const FString & Input,
TArray< FTextRange > & LineRanges )
static

Produce an array of line ranges from the given text, breaking at any new-line characters

Definition at line 1572 of file String.cpp.

+ Here is the call graph for this function:

◆ Contains()

bool FTextRange::Contains ( int32 Index) const
inline

Definition at line 2967 of file UnrealString.h.

◆ InclusiveContains()

bool FTextRange::InclusiveContains ( int32 Index) const
inline

Definition at line 2968 of file UnrealString.h.

◆ Intersect()

FTextRange FTextRange::Intersect ( const FTextRange & Other) const
inline

Definition at line 2970 of file UnrealString.h.

+ Here is the call graph for this function:

◆ IsEmpty()

bool FTextRange::IsEmpty ( ) const
inline

Definition at line 2965 of file UnrealString.h.

◆ Len()

int32 FTextRange::Len ( ) const
inline

Definition at line 2964 of file UnrealString.h.

◆ Offset()

void FTextRange::Offset ( int32 Amount)
inline

Definition at line 2966 of file UnrealString.h.

◆ operator!=()

FORCEINLINE bool FTextRange::operator!= ( const FTextRange & Other) const
inline

Definition at line 2951 of file UnrealString.h.

+ Here is the call graph for this function:

◆ operator==()

FORCEINLINE bool FTextRange::operator== ( const FTextRange & Other) const
inline

Definition at line 2945 of file UnrealString.h.

+ Here is the caller graph for this function:

Friends And Related Symbol Documentation

◆ GetTypeHash

uint32 GetTypeHash ( const FTextRange & Key)
friend

Definition at line 2956 of file UnrealString.h.

Member Data Documentation

◆ BeginIndex

int32 FTextRange::BeginIndex

Definition at line 2986 of file UnrealString.h.

◆ EndIndex

int32 FTextRange::EndIndex

Definition at line 2987 of file UnrealString.h.


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