Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
TStringView< CharType > Class Template Reference

#include <StringView.h>

Public Types

using ElementType = CharType
 
using ViewType = TStringView<CharType>
 

Public Member Functions

constexpr TStringView ()=default
 
constexpr TStringView (const CharType *InData UE_LIFETIMEBOUND)
 
constexpr TStringView (const CharType *InData UE_LIFETIMEBOUND, int32 InSize)
 
template<typename OtherCharType , std::enable_if_t< TAnd< TIsCharType< OtherCharType >, TIsCharEncodingCompatibleWith< OtherCharType, CharType > >::Value > * = nullptr>
constexpr TStringView (const OtherCharType *InData UE_LIFETIMEBOUND)
 
template<typename OtherCharType , std::enable_if_t< TAnd< TIsCharType< OtherCharType >, TIsCharEncodingCompatibleWith< OtherCharType, CharType > >::Value > * = nullptr>
constexpr TStringView (const OtherCharType *InData UE_LIFETIMEBOUND, int32 InSize)
 
template<typename CharRangeType , std::enable_if_t< TAnd< TIsContiguousContainer< CharRangeType >, TIsCharType< TElementType_T< CharRangeType > >, TIsCharEncodingCompatibleWith< TElementType_T< CharRangeType >, CharType > >::Value &&!std::is_array_v< std::remove_reference_t< CharRangeType > > &&!std::is_same_v< CharRangeType, ViewType > > * = nullptr>
constexpr TStringView (const CharRangeType &InRange UE_LIFETIMEBOUND)
 
const CharType & operator[] (int32 Index) const
 
constexpr const CharType * GetData () const
 
constexpr int32 Len () const
 
constexpr bool IsEmpty () const
 
void RemovePrefix (int32 CharCount)
 
void RemoveSuffix (int32 CharCount)
 
void Reset ()
 
int32 CopyString (CharType *Dest, int32 CharCount, int32 Position=0) const
 
ViewType SubStr (int32 Position, int32 CharCount) const
 
ViewType Left (int32 CharCount) const
 
ViewType LeftChop (int32 CharCount) const
 
ViewType Right (int32 CharCount) const
 
ViewType RightChop (int32 CharCount) const
 
ViewType Mid (int32 Position, int32 CharCount=MAX_int32) const
 
ViewType TrimStartAndEnd () const
 
ViewType TrimStart () const
 
ViewType TrimEnd () const
 
void LeftInline (int32 CharCount)
 
void LeftChopInline (int32 CharCount)
 
void RightInline (int32 CharCount)
 
void RightChopInline (int32 CharCount)
 
void MidInline (int32 Position, int32 CharCount=MAX_int32)
 
void TrimStartAndEndInline ()
 
void TrimStartInline ()
 
void TrimEndInline ()
 
template<typename OtherRangeType , decltype(MakeStringView(DeclVal< OtherRangeType >())) * = nullptr>
bool Equals (OtherRangeType &&Other, ESearchCase::Type SearchCase=ESearchCase::CaseSensitive) const
 
template<typename OtherCharType , std::enable_if_t< TIsCharType< OtherCharType >::Value > * = nullptr>
bool Equals (const OtherCharType *Other, ESearchCase::Type SearchCase=ESearchCase::CaseSensitive) const
 
template<typename OtherRangeType , decltype(MakeStringView(DeclVal< OtherRangeType >())) * = nullptr>
int32 Compare (OtherRangeType &&Other, ESearchCase::Type SearchCase=ESearchCase::CaseSensitive) const
 
template<typename OtherCharType , std::enable_if_t< TIsCharType< OtherCharType >::Value > * = nullptr>
int32 Compare (TStringView< OtherCharType > Other, ESearchCase::Type SearchCase=ESearchCase::CaseSensitive) const
 
template<typename OtherCharType >
int32 Compare (const OtherCharType *Other, ESearchCase::Type SearchCase=ESearchCase::CaseSensitive) const
 
bool StartsWith (CharType Prefix) const
 
bool StartsWith (ViewType Prefix, ESearchCase::Type SearchCase=ESearchCase::IgnoreCase) const
 
bool EndsWith (CharType Suffix) const
 
bool EndsWith (ViewType Suffix, ESearchCase::Type SearchCase=ESearchCase::IgnoreCase) const
 
int32 Find (ViewType Search, int32 StartPosition=0) const
 
bool Contains (ViewType Search) const
 
bool FindChar (CharType Search, int32 &OutIndex) const
 
bool FindLastChar (CharType Search, int32 &OutIndex) const
 
UE_NODISCARD FORCEINLINE bool IsValidIndex (int32 Index) const
 
constexpr const CharType * begin () const
 
constexpr const CharType * end () const
 

Protected Attributes

const CharType * DataPtr = nullptr
 
int32 Size = 0
 

Static Private Member Functions

static bool PrivateEquals (TStringView Lhs, const CharType *Rhs)
 
static bool PrivateEquals (TStringView Lhs, TStringView Rhs)
 
static bool PrivateLess (TStringView Lhs, TStringView Rhs)
 

Friends

constexpr auto GetNum (TStringView String)
 
uint32 GetTypeHash (TStringView View)
 
bool operator== (TStringView Lhs, TStringView Rhs)
 
bool operator!= (TStringView Lhs, TStringView Rhs)
 
bool operator< (TStringView Lhs, TStringView Rhs)
 
template<typename CharRangeType >
auto operator== (TStringView Lhs, CharRangeType &&Rhs) -> decltype(TStringView::PrivateEquals(Lhs, ImplicitConv< TStringView >(Forward< CharRangeType >(Rhs))))
 
template<typename CharRangeType >
auto operator== (CharRangeType &&Lhs, TStringView Rhs) -> decltype(TStringView::PrivateEquals(ImplicitConv< TStringView >(Forward< CharRangeType >(Lhs)), Rhs))
 
template<typename CharRangeType >
auto operator!= (TStringView Lhs, CharRangeType &&Rhs) -> decltype(!(Lhs==Forward< CharRangeType >(Rhs)))
 
template<typename CharRangeType >
auto operator!= (CharRangeType &&Lhs, TStringView Rhs) -> decltype(!(Rhs==Forward< CharRangeType >(Lhs)))
 
template<typename CharRangeType >
auto operator< (TStringView Lhs, CharRangeType &&Rhs) -> decltype(TStringView::PrivateLess(Lhs, ImplicitConv< TStringView >(Forward< CharRangeType >(Rhs))))
 
template<typename CharRangeType >
auto operator< (CharRangeType &&Lhs, TStringView Rhs) -> decltype(TStringView::PrivateLess(ImplicitConv< TStringView >(Forward< CharRangeType >(Lhs)), Rhs))
 
bool operator== (TStringView Lhs, const CharType *Rhs)
 
bool operator== (const CharType *Lhs, TStringView Rhs)
 
bool operator!= (TStringView Lhs, const CharType *Rhs)
 
bool operator!= (const CharType *Lhs, TStringView Rhs)
 

Detailed Description

template<typename CharType>
class TStringView< CharType >

A string view is a non-owning view of a range of characters.

Ensure that the underlying string is valid for the lifetime of the string view.

Be careful when constructing a string view from a temporary. Make a local copy if necessary.

FStringView View = Object->GetPathName(); // Invalid

FString PathName = Object->GetPathName(); // Valid FStringView View = PathName;

void ProcessPath(FStringView Path); // Valid ProcessPath(Object->GetPathName());

A string view is implicitly constructible from null-terminated strings, from contiguous ranges of characters such as FString and TStringBuilder, and from literals such as TEXTVIEW("...").

A string view is cheap to copy and is meant to be passed by value. Avoid passing by reference.

A string view is not guaranteed to represent a null-terminated string.

Log or format a string view using UE_LOG(TEXT("%.*s"), View.Len(), View.GetData());

A string view is a good fit for function parameters where the function has no requirements for how the string is stored. A caller may use FString, FStringView, TStringBuilder, a char array, a null-terminated string, or any other type which can convert to a string view.

The UE::String namespace contains many functions that can operate on string views. Most of these functions can be found in String/___.h in Core.

Definition at line 77 of file StringView.h.

Member Typedef Documentation

◆ ElementType

template<typename CharType >
using TStringView< CharType >::ElementType = CharType

Definition at line 80 of file StringView.h.

◆ ViewType

template<typename CharType >
using TStringView< CharType >::ViewType = TStringView<CharType>

Definition at line 82 of file StringView.h.

Constructor & Destructor Documentation

◆ TStringView() [1/6]

template<typename CharType >
constexpr TStringView< CharType >::TStringView ( )
constexprdefault

Construct an empty view.

◆ TStringView() [2/6]

template<typename CharType >
constexpr TStringView< CharType >::TStringView ( const CharType *InData UE_LIFETIMEBOUND)
inlineconstexpr

Construct a view of the null-terminated string pointed to by InData.

Definition at line 89 of file StringView.h.

◆ TStringView() [3/6]

template<typename CharType >
constexpr TStringView< CharType >::TStringView ( const CharType *InData UE_LIFETIMEBOUND,
int32 InSize )
inlineconstexpr

Construct a view of InSize characters beginning at InData.

Definition at line 96 of file StringView.h.

◆ TStringView() [4/6]

template<typename CharType >
template<typename OtherCharType , std::enable_if_t< TAnd< TIsCharType< OtherCharType >, TIsCharEncodingCompatibleWith< OtherCharType, CharType > >::Value > * = nullptr>
constexpr TStringView< CharType >::TStringView ( const OtherCharType *InData UE_LIFETIMEBOUND)
inlineconstexpr

Construct a view of the null-terminated string pointed to by InData.

Definition at line 112 of file StringView.h.

◆ TStringView() [5/6]

template<typename CharType >
template<typename OtherCharType , std::enable_if_t< TAnd< TIsCharType< OtherCharType >, TIsCharEncodingCompatibleWith< OtherCharType, CharType > >::Value > * = nullptr>
constexpr TStringView< CharType >::TStringView ( const OtherCharType *InData UE_LIFETIMEBOUND,
int32 InSize )
inlineconstexpr

Construct a view of InSize characters beginning at InData.

Definition at line 128 of file StringView.h.

◆ TStringView() [6/6]

template<typename CharType >
template<typename CharRangeType , std::enable_if_t< TAnd< TIsContiguousContainer< CharRangeType >, TIsCharType< TElementType_T< CharRangeType > >, TIsCharEncodingCompatibleWith< TElementType_T< CharRangeType >, CharType > >::Value &&!std::is_array_v< std::remove_reference_t< CharRangeType > > &&!std::is_same_v< CharRangeType, ViewType > > * = nullptr>
constexpr TStringView< CharType >::TStringView ( const CharRangeType &InRange UE_LIFETIMEBOUND)
inlineconstexpr

Construct a view from a contiguous range of characters, such as FString or TStringBuilder.

Definition at line 145 of file StringView.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Function Documentation

◆ begin()

template<typename CharType >
constexpr const CharType * TStringView< CharType >::begin ( ) const
inlineconstexpr

DO NOT USE DIRECTLY STL-like iterators to enable range-based for loop support.

Definition at line 443 of file StringView.h.

◆ Compare() [1/3]

template<typename CharType >
template<typename OtherCharType >
int32 TStringView< CharType >::Compare ( const OtherCharType * Other,
ESearchCase::Type SearchCase = ESearchCase::CaseSensitive ) const
inline

Compare this view with a null-terminated string.

Parameters
OtherA null-terminated string that is comparable with the character type of this view.
SearchCaseWhether the comparison should ignore case.
Returns
0 is equal, negative if this view is less, positive if this view is greater.

Definition at line 691 of file StringView.h.

◆ Compare() [2/3]

template<typename CharType >
int32 TStringView< CharType >::Compare ( OtherRangeType && Other,
ESearchCase::Type SearchCase = ESearchCase::CaseSensitive ) const
inline

Compare this view with a character range.

Parameters
OtherA character range that is comparable with the character type of this view.
SearchCaseWhether the comparison should ignore case.
Returns
0 is equal, negative if this view is less, positive if this view is greater.

Definition at line 257 of file StringView.h.

+ Here is the call graph for this function:

◆ Compare() [3/3]

template<typename CharType >
template<typename OtherCharType , std::enable_if_t< TIsCharType< OtherCharType >::Value > * >
int32 TStringView< CharType >::Compare ( TStringView< OtherCharType > Other,
ESearchCase::Type SearchCase = ESearchCase::CaseSensitive ) const
inline

Compare this view with a string view.

Parameters
OtherA string view that is comparable with the character type of this view.
SearchCaseWhether the comparison should ignore case.
Returns
0 is equal, negative if this view is less, positive if this view is greater.

Definition at line 660 of file StringView.h.

◆ Contains()

template<typename CharType >
bool TStringView< CharType >::Contains ( ViewType Search) const
inline

Returns whether this view contains the specified substring.

Parameters
SearchText to search for
Returns
True if the view contains the search string, otherwise false.

Definition at line 310 of file StringView.h.

+ Here is the call graph for this function:

◆ CopyString()

template<typename CharType >
int32 TStringView< CharType >::CopyString ( CharType * Dest,
int32 CharCount,
int32 Position = 0 ) const
inline

Copy characters from the view into a destination buffer without null termination.

Parameters
DestBuffer to write into. Must have space for at least CharCount characters.
CharCountThe maximum number of characters to copy.
PositionThe offset into the view from which to start copying.
Returns
The number of characters written to the destination buffer.

Definition at line 551 of file StringView.h.

◆ end()

template<typename CharType >
constexpr const CharType * TStringView< CharType >::end ( ) const
inlineconstexpr

Definition at line 444 of file StringView.h.

◆ EndsWith() [1/2]

template<typename CharType >
bool TStringView< CharType >::EndsWith ( CharType Suffix) const
inline

Returns whether this view ends with the suffix character compared case-sensitively.

Definition at line 289 of file StringView.h.

+ Here is the call graph for this function:

◆ EndsWith() [2/2]

template<typename CharType >
bool TStringView< CharType >::EndsWith ( ViewType Suffix,
ESearchCase::Type SearchCase = ESearchCase::IgnoreCase ) const
inline

Returns whether this view ends with the suffix with optional case sensitivity.

Definition at line 724 of file StringView.h.

◆ Equals() [1/2]

template<typename CharType >
template<typename OtherCharType , std::enable_if_t< TIsCharType< OtherCharType >::Value > * >
bool TStringView< CharType >::Equals ( const OtherCharType * Other,
ESearchCase::Type SearchCase = ESearchCase::CaseSensitive ) const
inline

Check whether this view is equivalent to a string view.

Parameters
OtherA string that is comparable with the character type of this view.
SearchCaseWhether the comparison should ignore case.

Definition at line 640 of file StringView.h.

◆ Equals() [2/2]

template<typename CharType >
bool TStringView< CharType >::Equals ( OtherRangeType && Other,
ESearchCase::Type SearchCase = ESearchCase::CaseSensitive ) const
inline

Check whether this view is equivalent to a character range.

Parameters
OtherA character range that is comparable with the character type of this view.
SearchCaseWhether the comparison should ignore case.

Definition at line 233 of file StringView.h.

+ Here is the call graph for this function:

◆ Find()

template<typename CharType >
int32 TStringView< CharType >::Find ( ViewType Search,
int32 StartPosition = 0 ) const
inline

Search the view for the first occurrence of a search string.

Parameters
SearchThe string to search for. Comparison is lexicographic.
StartPositionThe character position to start searching from.
Returns
The index of the first occurrence of the search string if found, otherwise INDEX_NONE.

Definition at line 730 of file StringView.h.

◆ FindChar()

template<typename CharType >
bool TStringView< CharType >::FindChar ( CharType Search,
int32 & OutIndex ) const
inline

Search the view for the first occurrence of a character.

Parameters
SearchThe character to search for. Comparison is lexicographic.
OutIndex[out] The position at which the character was found, or INDEX_NONE if not found.
Returns
True if the character was found in the view, otherwise false.

Definition at line 737 of file StringView.h.

◆ FindLastChar()

template<typename CharType >
bool TStringView< CharType >::FindLastChar ( CharType Search,
int32 & OutIndex ) const
inline

Search the view for the last occurrence of a character.

Parameters
SearchThe character to search for. Comparison is lexicographic.
OutIndex[out] The position at which the character was found, or INDEX_NONE if not found.
Returns
True if the character was found in the view, otherwise false.

Definition at line 744 of file StringView.h.

◆ GetData()

template<typename CharType >
constexpr const CharType * TStringView< CharType >::GetData ( ) const
inlineconstexpr

Returns a pointer to the start of the view. This is NOT guaranteed to be null-terminated!

Definition at line 155 of file StringView.h.

◆ IsEmpty()

template<typename CharType >
constexpr bool TStringView< CharType >::IsEmpty ( ) const
inlineconstexpr

Returns whether the string view is empty.

Definition at line 163 of file StringView.h.

◆ IsValidIndex()

template<typename CharType >
UE_NODISCARD FORCEINLINE bool TStringView< CharType >::IsValidIndex ( int32 Index) const
inline

Tests if index is valid, i.e. greater than or equal to zero, and less than the number of characters in the string view.

Parameters
IndexIndex to test.
Returns
True if index is valid. False otherwise.

Definition at line 340 of file StringView.h.

+ Here is the call graph for this function:

◆ Left()

template<typename CharType >
TStringView< CharType > TStringView< CharType >::Left ( int32 CharCount) const
inline

Returns the left-most part of the view by taking the given number of characters from the left.

Definition at line 559 of file StringView.h.

◆ LeftChop()

template<typename CharType >
TStringView< CharType > TStringView< CharType >::LeftChop ( int32 CharCount) const
inline

Returns the left-most part of the view by chopping the given number of characters from the right.

Definition at line 565 of file StringView.h.

◆ LeftChopInline()

template<typename CharType >
void TStringView< CharType >::LeftChopInline ( int32 CharCount)
inline

Modifies the view by chopping the given number of characters from the right.

Definition at line 210 of file StringView.h.

+ Here is the call graph for this function:

◆ LeftInline()

template<typename CharType >
void TStringView< CharType >::LeftInline ( int32 CharCount)
inline

Modifies the view to be the given number of characters from the left.

Definition at line 208 of file StringView.h.

+ Here is the call graph for this function:

◆ Len()

template<typename CharType >
constexpr int32 TStringView< CharType >::Len ( ) const
inlineconstexpr

Returns the length of the string view.

Definition at line 160 of file StringView.h.

◆ Mid()

template<typename CharType >
TStringView< CharType > TStringView< CharType >::Mid ( int32 Position,
int32 CharCount = MAX_int32 ) const
inline

Returns the middle part of the view by taking up to the given number of characters from the given position.

Definition at line 585 of file StringView.h.

◆ MidInline()

template<typename CharType >
void TStringView< CharType >::MidInline ( int32 Position,
int32 CharCount = MAX_int32 )
inline

Modifies the view to be the middle part by taking up to the given number of characters from the given position.

Definition at line 216 of file StringView.h.

+ Here is the call graph for this function:

◆ operator[]()

template<typename CharType >
const CharType & TStringView< CharType >::operator[] ( int32 Index) const
inline

Access the character at the given index in the view.

Definition at line 544 of file StringView.h.

◆ PrivateEquals() [1/2]

template<typename CharType >
bool TStringView< CharType >::PrivateEquals ( TStringView< CharType > Lhs,
const CharType * Rhs )
inlinestaticprivate

Definition at line 751 of file StringView.h.

◆ PrivateEquals() [2/2]

template<typename CharType >
bool TStringView< CharType >::PrivateEquals ( TStringView< CharType > Lhs,
TStringView< CharType > Rhs )
inlinestaticprivate

Definition at line 757 of file StringView.h.

◆ PrivateLess()

template<typename CharType >
bool TStringView< CharType >::PrivateLess ( TStringView< CharType > Lhs,
TStringView< CharType > Rhs )
inlinestaticprivate

Definition at line 763 of file StringView.h.

◆ RemovePrefix()

template<typename CharType >
void TStringView< CharType >::RemovePrefix ( int32 CharCount)
inline

Modifies the view to remove the given number of characters from the start.

Definition at line 168 of file StringView.h.

+ Here is the call graph for this function:

◆ RemoveSuffix()

template<typename CharType >
void TStringView< CharType >::RemoveSuffix ( int32 CharCount)
inline

Modifies the view to remove the given number of characters from the end.

Definition at line 170 of file StringView.h.

+ Here is the call graph for this function:

◆ Reset()

template<typename CharType >
void TStringView< CharType >::Reset ( )
inline

Resets to an empty view

Definition at line 172 of file StringView.h.

+ Here is the call graph for this function:

◆ Right()

template<typename CharType >
TStringView< CharType > TStringView< CharType >::Right ( int32 CharCount) const
inline

Returns the right-most part of the view by taking the given number of characters from the right.

Definition at line 571 of file StringView.h.

◆ RightChop()

template<typename CharType >
TStringView< CharType > TStringView< CharType >::RightChop ( int32 CharCount) const
inline

Returns the right-most part of the view by chopping the given number of characters from the left.

Definition at line 578 of file StringView.h.

◆ RightChopInline()

template<typename CharType >
void TStringView< CharType >::RightChopInline ( int32 CharCount)
inline

Modifies the view by chopping the given number of characters from the left.

Definition at line 214 of file StringView.h.

+ Here is the call graph for this function:

◆ RightInline()

template<typename CharType >
void TStringView< CharType >::RightInline ( int32 CharCount)
inline

Modifies the view to be the given number of characters from the right.

Definition at line 212 of file StringView.h.

+ Here is the call graph for this function:

◆ StartsWith() [1/2]

template<typename CharType >
bool TStringView< CharType >::StartsWith ( CharType Prefix) const
inline

Returns whether this view starts with the prefix character compared case-sensitively.

Definition at line 284 of file StringView.h.

+ Here is the call graph for this function:

◆ StartsWith() [2/2]

template<typename CharType >
bool TStringView< CharType >::StartsWith ( ViewType Prefix,
ESearchCase::Type SearchCase = ESearchCase::IgnoreCase ) const
inline

Returns whether this view starts with the prefix with optional case sensitivity.

Definition at line 718 of file StringView.h.

◆ SubStr()

template<typename CharType >
ViewType TStringView< CharType >::SubStr ( int32 Position,
int32 CharCount ) const
inline

Alias for Mid.

Definition at line 188 of file StringView.h.

+ Here is the call graph for this function:

◆ TrimEnd()

template<typename CharType >
TStringView< CharType > TStringView< CharType >::TrimEnd ( ) const
inline

Returns the left part of the view before any whitespace at the end.

Definition at line 627 of file StringView.h.

◆ TrimEndInline()

template<typename CharType >
void TStringView< CharType >::TrimEndInline ( )
inline

Modifies the view to be the left part before any whitespace at the end.

Definition at line 222 of file StringView.h.

+ Here is the call graph for this function:

◆ TrimStart()

template<typename CharType >
TStringView< CharType > TStringView< CharType >::TrimStart ( ) const
inline

Returns the right part of the view after any whitespace at the start.

Definition at line 612 of file StringView.h.

◆ TrimStartAndEnd()

template<typename CharType >
TStringView< CharType > TStringView< CharType >::TrimStartAndEnd ( ) const
inline

Returns the middle part of the view between any whitespace at the start and end.

Definition at line 606 of file StringView.h.

◆ TrimStartAndEndInline()

template<typename CharType >
void TStringView< CharType >::TrimStartAndEndInline ( )
inline

Modifies the view to be the middle part between any whitespace at the start and end.

Definition at line 218 of file StringView.h.

+ Here is the call graph for this function:

◆ TrimStartInline()

template<typename CharType >
void TStringView< CharType >::TrimStartInline ( )
inline

Modifies the view to be the right part after any whitespace at the start.

Definition at line 220 of file StringView.h.

+ Here is the call graph for this function:

Friends And Related Symbol Documentation

◆ GetNum

template<typename CharType >
constexpr auto GetNum ( TStringView< CharType > String)
friend

Definition at line 351 of file StringView.h.

◆ GetTypeHash

template<typename CharType >
uint32 GetTypeHash ( TStringView< CharType > View)
friend

Case insensitive string hash function.

Definition at line 357 of file StringView.h.

◆ operator!= [1/5]

template<typename CharType >
template<typename CharRangeType >
auto operator!= ( CharRangeType && Lhs,
TStringView< CharType > Rhs ) -> decltype(!(Rhs == Forward<CharRangeType>(Lhs)))
friend

Definition at line 399 of file StringView.h.

◆ operator!= [2/5]

template<typename CharType >
bool operator!= ( const CharType * Lhs,
TStringView< CharType > Rhs )
friend

Definition at line 433 of file StringView.h.

◆ operator!= [3/5]

template<typename CharType >
template<typename CharRangeType >
auto operator!= ( TStringView< CharType > Lhs,
CharRangeType && Rhs ) -> decltype(!(Lhs == Forward<CharRangeType>(Rhs)))
friend

Definition at line 393 of file StringView.h.

◆ operator!= [4/5]

template<typename CharType >
bool operator!= ( TStringView< CharType > Lhs,
const CharType * Rhs )
friend

Definition at line 428 of file StringView.h.

◆ operator!= [5/5]

template<typename CharType >
bool operator!= ( TStringView< CharType > Lhs,
TStringView< CharType > Rhs )
friend

Definition at line 368 of file StringView.h.

◆ operator< [1/3]

Definition at line 412 of file StringView.h.

◆ operator< [2/3]

Definition at line 405 of file StringView.h.

◆ operator< [3/3]

template<typename CharType >
bool operator< ( TStringView< CharType > Lhs,
TStringView< CharType > Rhs )
friend

Definition at line 373 of file StringView.h.

◆ operator== [1/5]

Definition at line 386 of file StringView.h.

◆ operator== [2/5]

template<typename CharType >
bool operator== ( const CharType * Lhs,
TStringView< CharType > Rhs )
friend

Definition at line 423 of file StringView.h.

◆ operator== [3/5]

Definition at line 379 of file StringView.h.

◆ operator== [4/5]

template<typename CharType >
bool operator== ( TStringView< CharType > Lhs,
const CharType * Rhs )
friend

Definition at line 418 of file StringView.h.

◆ operator== [5/5]

template<typename CharType >
bool operator== ( TStringView< CharType > Lhs,
TStringView< CharType > Rhs )
friend

Definition at line 363 of file StringView.h.

Member Data Documentation

◆ DataPtr

template<typename CharType >
const CharType* TStringView< CharType >::DataPtr = nullptr
protected

Definition at line 447 of file StringView.h.

◆ Size

template<typename CharType >
int32 TStringView< CharType >::Size = 0
protected

Definition at line 448 of file StringView.h.


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