Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
FWildcardString Class Reference

#include <WildcardString.h>

+ Inheritance diagram for FWildcardString:
+ Collaboration diagram for FWildcardString:

Public Member Functions

 FWildcardString ()
 
 FWildcardString (const FString &Pattern)
 
 FWildcardString (const TCHAR *Pattern)
 
bool ContainsWildcards () const
 
bool IsMatch (const TCHAR *Input) const
 
bool IsMatch (const FString &Input) const
 
- Public Member Functions inherited from FString
std::string ToString () const
 
std::string ToStringUTF8 () const
 
FORCEINLINE FString (const std::wstring &str)
 
FORCEINLINE FString (const std::string &str)
 
 FString ()=default
 
 FString (FString &&)=default
 
 FString (const FString &)=default
 
FStringoperator= (FString &&)=default
 
FStringoperator= (const FString &)=default
 
FORCEINLINE FString (const FString &Other, int32 ExtraSlack)
 
FORCEINLINE FString (FString &&Other, int32 ExtraSlack)
 
ARK_API FString (const ANSICHAR *Str)
 
ARK_API FString (const WIDECHAR *Str)
 
ARK_API FString (const UTF8CHAR *Str)
 
ARK_API FString (const UCS2CHAR *Str)
 
ARK_API FString (int32 Len, const ANSICHAR *Str)
 
ARK_API FString (int32 Len, const WIDECHAR *Str)
 
ARK_API FString (int32 Len, const UTF8CHAR *Str)
 
ARK_API FString (int32 Len, const UCS2CHAR *Str)
 
ARK_API FString (const ANSICHAR *Str, int32 ExtraSlack)
 
ARK_API FString (const WIDECHAR *Str, int32 ExtraSlack)
 
ARK_API FString (const UTF8CHAR *Str, int32 ExtraSlack)
 
ARK_API FString (const UCS2CHAR *Str, int32 ExtraSlack)
 
template<typename CharRangeType , typename TEnableIf< TIsCharRangeNotCArrayNotFString< CharRangeType >::Value >::Type * = nullptr>
FORCEINLINE FString (CharRangeType &&Str)
 
template<typename CharRangeType , typename TEnableIf< TIsCharRangeNotCArrayNotFString< CharRangeType >::Value >::Type * = nullptr>
 FString (CharRangeType &&Str, int32 ExtraSlack)
 
ARK_API FStringoperator= (const TCHAR *Str)
 
template<typename CharRangeType , typename TEnableIf< TIsTCharRangeNotCArray< CharRangeType >::Value >::Type * = nullptr>
FORCEINLINE FStringoperator= (CharRangeType &&Range)
 
FORCEINLINE TCHAR & operator[] (int32 Index) UE_LIFETIMEBOUND
 
FORCEINLINE const TCHAR & operator[] (int32 Index) const UE_LIFETIMEBOUND
 
FORCEINLINE TIterator CreateIterator ()
 
FORCEINLINE TConstIterator CreateConstIterator () const
 
FORCEINLINE DataType::RangedForIteratorType begin ()
 
FORCEINLINE DataType::RangedForConstIteratorType begin () const
 
FORCEINLINE DataType::RangedForIteratorType end ()
 
FORCEINLINE DataType::RangedForConstIteratorType end () const
 
FORCEINLINE SIZE_T GetAllocatedSize () const
 
FORCEINLINE void CheckInvariants () const
 
ARK_API void Empty ()
 
ARK_API void Empty (int32 Slack)
 
UE_NODISCARD FORCEINLINE bool IsEmpty () const
 
void Reset (int32 NewReservedSize=0)
 
void Shrink ()
 
UE_NODISCARD FORCEINLINE bool IsValidIndex (int32 Index) const
 
UE_NODISCARD FORCEINLINE const TCHAR * operator* () const UE_LIFETIMEBOUND
 
UE_NODISCARD FORCEINLINE DataTypeGetCharArray () UE_LIFETIMEBOUND
 
UE_NODISCARD FORCEINLINE const DataTypeGetCharArray () const UE_LIFETIMEBOUND
 
ARK_API void AppendChars (const ANSICHAR *Str, int32 Count)
 
ARK_API void AppendChars (const WIDECHAR *Str, int32 Count)
 
ARK_API void AppendChars (const UCS2CHAR *Str, int32 Count)
 
ARK_API void AppendChars (const UTF8CHAR *Str, int32 Count)
 
template<class CharType >
FORCEINLINE FStringAppend (const CharType *Str, int32 Count)
 
template<class CharType >
FORCEINLINE FStringAppend (CharType *Str)
 
template<typename CharRangeType , typename TEnableIf< TIsCharRangeNotCArray< CharRangeType >::Value >::Type * = nullptr>
FORCEINLINE FStringAppend (CharRangeType &&Str)
 
FStringAppendChar (TCHAR InChar)
 
template<typename StrType >
FORCEINLINE auto operator+= (StrType &&Str) -> decltype(Append(Forward< StrType >(Str)))
 
template<typename AppendedCharType , std::enable_if_t< TIsCharType< AppendedCharType >::Value > * = nullptr>
FORCEINLINE FStringoperator+= (AppendedCharType Char)
 
void InsertAt (int32 Index, TCHAR Character)
 
void InsertAt (int32 Index, const FString &Characters)
 
ARK_API void RemoveAt (int32 Index, int32 Count=1, bool bAllowShrinking=true)
 
template<typename TCharRangeType , std::enable_if_t< TIsCharRangeNotCArrayNotFString< TCharRangeType >::Value > * = nullptr>
bool RemoveFromStart (TCharRangeType &&InPrefix, ESearchCase::Type SearchCase=ESearchCase::IgnoreCase)
 
ARK_API bool RemoveFromStart (const TCHAR *InPrefix, ESearchCase::Type SearchCase=ESearchCase::IgnoreCase)
 
ARK_API bool RemoveFromStart (const FString &InPrefix, ESearchCase::Type SearchCase=ESearchCase::IgnoreCase)
 
ARK_API bool RemoveFromStart (const TCHAR *InPrefix, int32 InPrefixLen, ESearchCase::Type SearchCase=ESearchCase::IgnoreCase)
 
template<typename TCharRangeType , std::enable_if_t< TIsCharRangeNotCArrayNotFString< TCharRangeType >::Value > * = nullptr>
bool RemoveFromEnd (TCharRangeType &&InSuffix, ESearchCase::Type SearchCase=ESearchCase::IgnoreCase)
 
ARK_API bool RemoveFromEnd (const TCHAR *InSuffix, ESearchCase::Type SearchCase=ESearchCase::IgnoreCase)
 
ARK_API bool RemoveFromEnd (const FString &InSuffix, ESearchCase::Type SearchCase=ESearchCase::IgnoreCase)
 
ARK_API bool RemoveFromEnd (const TCHAR *InSuffix, int32 InSuffixLen, ESearchCase::Type SearchCase=ESearchCase::IgnoreCase)
 
void PathAppend (const TCHAR *Str, int32 StrLength)
 
FORCEINLINE FStringoperator/= (const TCHAR *Str)
 
template<typename CharRangeType , typename TEnableIf< TIsTCharRangeNotCArray< CharRangeType >::Value >::Type * = nullptr>
FORCEINLINE FStringoperator/= (CharRangeType &&Str)
 
template<typename CharType , typename TEnableIf< TIsCharType< CharType >::Value >::Type * = nullptr>
FORCEINLINE FStringoperator/= (const CharType *Str)
 
UE_NODISCARD FORCEINLINE bool operator== (const FString &Rhs) const
 
template<typename CharType >
UE_NODISCARD FORCEINLINE bool operator== (const CharType *Rhs) const
 
UE_NODISCARD FORCEINLINE bool operator!= (const FString &Rhs) const
 
template<typename CharType >
UE_NODISCARD FORCEINLINE bool operator!= (const CharType *Rhs) const
 
UE_NODISCARD FORCEINLINE int32 Len () const
 
UE_NODISCARD FORCEINLINE FString Left (int32 Count) const &
 
UE_NODISCARD FORCEINLINE FString Left (int32 Count) &&
 
FORCEINLINE void LeftInline (int32 Count, bool bAllowShrinking=true)
 
UE_NODISCARD FORCEINLINE FString LeftChop (int32 Count) const &
 
UE_NODISCARD FORCEINLINE FString LeftChop (int32 Count) &&
 
FORCEINLINE void LeftChopInline (int32 Count, bool bAllowShrinking=true)
 
UE_NODISCARD FORCEINLINE FString Right (int32 Count) const &
 
UE_NODISCARD FORCEINLINE FString Right (int32 Count) &&
 
FORCEINLINE void RightInline (int32 Count, bool bAllowShrinking=true)
 
UE_NODISCARD FString RightChop (int32 Count) const &
 
UE_NODISCARD FORCEINLINE FString RightChop (int32 Count) &&
 
FORCEINLINE void RightChopInline (int32 Count, bool bAllowShrinking=true)
 
UE_NODISCARD FString Mid (int32 Start, int32 Count) const &
 
UE_NODISCARD FString Mid (int32 Start, int32 Count) &&
 
UE_NODISCARD FORCEINLINE FString Mid (int32 Start) const &
 
UE_NODISCARD FORCEINLINE FString Mid (int32 Start) &&
 
FORCEINLINE void MidInline (int32 Start, int32 Count=MAX_int32, bool bAllowShrinking=true)
 
template<typename TCharRangeType , std::enable_if_t< TIsCharRangeNotCArrayNotFString< TCharRangeType >::Value > * = nullptr>
UE_NODISCARD int32 Find (TCharRangeType &&SubStr, ESearchCase::Type SearchCase=ESearchCase::IgnoreCase, ESearchDir::Type SearchDir=ESearchDir::FromStart, int32 StartPosition=INDEX_NONE) const
 
UE_NODISCARD int32 Find (const TCHAR *SubStr, ESearchCase::Type SearchCase=ESearchCase::IgnoreCase, ESearchDir::Type SearchDir=ESearchDir::FromStart, int32 StartPosition=INDEX_NONE) const
 
UE_NODISCARD int32 Find (const FString &SubStr, ESearchCase::Type SearchCase=ESearchCase::IgnoreCase, ESearchDir::Type SearchDir=ESearchDir::FromStart, int32 StartPosition=INDEX_NONE) const
 
UE_NODISCARD int32 Find (const TCHAR *SubStr, int32 SubStrLen, ESearchCase::Type SearchCase=ESearchCase::IgnoreCase, ESearchDir::Type SearchDir=ESearchDir::FromStart, int32 StartPosition=INDEX_NONE) const
 
template<typename TCharRangeType , std::enable_if_t< TIsCharRangeNotCArrayNotFString< TCharRangeType >::Value > * = nullptr>
UE_NODISCARD FORCEINLINE bool Contains (TCharRangeType &&SubStr, ESearchCase::Type SearchCase=ESearchCase::IgnoreCase, ESearchDir::Type SearchDir=ESearchDir::FromStart) const
 
UE_NODISCARD FORCEINLINE bool Contains (const TCHAR *SubStr, ESearchCase::Type SearchCase=ESearchCase::IgnoreCase, ESearchDir::Type SearchDir=ESearchDir::FromStart) const
 
UE_NODISCARD FORCEINLINE bool Contains (const FString &SubStr, ESearchCase::Type SearchCase=ESearchCase::IgnoreCase, ESearchDir::Type SearchDir=ESearchDir::FromStart) const
 
UE_NODISCARD FORCEINLINE bool Contains (const TCHAR *SubStr, int32 SubStrLen, ESearchCase::Type SearchCase=ESearchCase::IgnoreCase, ESearchDir::Type SearchDir=ESearchDir::FromStart) const
 
FORCEINLINE bool FindChar (TCHAR InChar, int32 &Index) const
 
FORCEINLINE bool FindLastChar (TCHAR InChar, int32 &Index) const
 
template<typename Predicate >
FORCEINLINE int32 FindLastCharByPredicate (Predicate Pred, int32 Count) const
 
template<typename Predicate >
FORCEINLINE int32 FindLastCharByPredicate (Predicate Pred) const
 
UE_NODISCARD FORCEINLINE bool Equals (const FString &Other, ESearchCase::Type SearchCase=ESearchCase::CaseSensitive) const
 
UE_NODISCARD FORCEINLINE int32 Compare (const FString &Other, ESearchCase::Type SearchCase=ESearchCase::CaseSensitive) const
 
bool Split (const FString &InS, FString *LeftS, FString *RightS, ESearchCase::Type SearchCase, ESearchDir::Type SearchDir=ESearchDir::FromStart) const
 
bool Split (const FString &InS, FString *LeftS, FString *RightS) const
 
UE_NODISCARD FString ToUpper () const &
 
UE_NODISCARD FString ToUpper () &&
 
void ToUpperInline ()
 
UE_NODISCARD FString ToLower () const &
 
UE_NODISCARD FString ToLower () &&
 
void ToLowerInline ()
 
UE_NODISCARD FString LeftPad (int32 ChCount) const
 
UE_NODISCARD FString RightPad (int32 ChCount) const
 
UE_NODISCARD bool IsNumeric () const
 
void RemoveSpacesInline ()
 
template<typename FmtType , typename... Types>
FStringAppendf (const FmtType &Fmt, Types... Args)
 
bool StartsWith (const TCHAR *InPrefix, int32 InPrefixLen, ESearchCase::Type SearchCase) const
 
template<typename TCharRangeType , std::enable_if_t< TIsCharRangeNotCArrayNotFString< TCharRangeType >::Value > * = nullptr>
UE_NODISCARD bool StartsWith (TCharRangeType &&InPrefix, ESearchCase::Type SearchCase=ESearchCase::IgnoreCase) const
 
UE_NODISCARD bool StartsWith (const TCHAR *InPrefix, ESearchCase::Type SearchCase=ESearchCase::IgnoreCase) const
 
UE_NODISCARD bool StartsWith (const FString &InPrefix, ESearchCase::Type SearchCase=ESearchCase::IgnoreCase) const
 
bool EndsWith (const TCHAR *InSuffix, int32 InSuffixLen, ESearchCase::Type SearchCase=ESearchCase::IgnoreCase) const
 
template<typename TCharRangeType , std::enable_if_t< TIsCharRangeNotCArrayNotFString< TCharRangeType >::Value > * = nullptr>
UE_NODISCARD bool EndsWith (TCharRangeType &&InSuffix, ESearchCase::Type SearchCase=ESearchCase::IgnoreCase) const
 
UE_NODISCARD bool EndsWith (const TCHAR *InSuffix, ESearchCase::Type SearchCase=ESearchCase::IgnoreCase) const
 
UE_NODISCARD bool EndsWith (const FString &InSuffix, ESearchCase::Type SearchCase=ESearchCase::IgnoreCase) const
 
template<typename TCharRangeType , std::enable_if_t< TIsCharRangeNotCArrayNotFString< TCharRangeType >::Value > * = nullptr>
UE_NODISCARD bool MatchesWildcard (TCharRangeType &&Wildcard, ESearchCase::Type SearchCase=ESearchCase::IgnoreCase) const
 
UE_NODISCARD bool MatchesWildcard (const TCHAR *Wildcard, ESearchCase::Type SearchCase=ESearchCase::IgnoreCase) const
 
UE_NODISCARD bool MatchesWildcard (const FString &Wildcard, ESearchCase::Type SearchCase=ESearchCase::IgnoreCase) const
 
UE_NODISCARD bool MatchesWildcard (const TCHAR *Wildcard, int32 WildcardLen, ESearchCase::Type SearchCase=ESearchCase::IgnoreCase) const
 
void TrimStartAndEndInline ()
 
UE_NODISCARD FString TrimStartAndEnd () const &
 
UE_NODISCARD FString TrimStartAndEnd () &&
 
void TrimStartInline ()
 
UE_NODISCARD FString TrimStart () const &
 
UE_NODISCARD FString TrimStart () &&
 
void TrimEndInline ()
 
UE_NODISCARD FString TrimEnd () const &
 
UE_NODISCARD FString TrimEnd () &&
 
void TrimToNullTerminator ()
 
void TrimQuotesInline (bool *bQuotesRemoved=nullptr)
 
void TrimCharInline (const TCHAR CharacterToTrim, bool *bCharRemoved)
 
UE_NODISCARD FString TrimQuotes (bool *bQuotesRemoved=nullptr) const &
 
UE_NODISCARD FString TrimQuotes (bool *bQuotesRemoved=nullptr) &&
 
UE_NODISCARD FString TrimChar (const TCHAR CharacterToTrim, bool *bCharRemoved=nullptr) const &
 
UE_NODISCARD FString TrimChar (const TCHAR CharacterToTrim, bool *bCharRemoved=nullptr) &&
 
ARK_API int32 ParseIntoArray (TArray< FString > &OutArray, const TCHAR *pchDelim, bool InCullEmpty=true) const
 
ARK_API int32 ParseIntoArrayWS (TArray< FString > &OutArray, const TCHAR *pchExtraDelim=nullptr, bool InCullEmpty=true) const
 
ARK_API int32 ParseIntoArrayLines (TArray< FString > &OutArray, bool InCullEmpty=true) const
 
ARK_API int32 ParseIntoArray (TArray< FString > &OutArray, const TCHAR *const *DelimArray, int32 NumDelims, bool InCullEmpty=true) const
 
UE_NODISCARD FString Reverse () const &
 
UE_NODISCARD FString Reverse () &&
 
void ReverseString ()
 
UE_NODISCARD FString Replace (const TCHAR *From, const TCHAR *To, ESearchCase::Type SearchCase=ESearchCase::IgnoreCase) const &
 
UE_NODISCARD FString Replace (const TCHAR *From, const TCHAR *To, ESearchCase::Type SearchCase=ESearchCase::IgnoreCase) &&
 
int32 ReplaceInline (const TCHAR *SearchText, const TCHAR *ReplacementText, ESearchCase::Type SearchCase=ESearchCase::IgnoreCase)
 
void ReplaceCharInline (const TCHAR SearchChar, const TCHAR ReplacementChar, ESearchCase::Type SearchCase=ESearchCase::IgnoreCase)
 
UE_NODISCARD FString ReplaceQuotesWithEscapedQuotes () const &
 
UE_NODISCARD FString ReplaceQuotesWithEscapedQuotes () &&
 
void ReplaceCharWithEscapedCharInline (const TArray< TCHAR > *Chars=nullptr)
 
UE_NODISCARD FString ReplaceCharWithEscapedChar (const TArray< TCHAR > *Chars=nullptr) const &
 
UE_NODISCARD FString ReplaceCharWithEscapedChar (const TArray< TCHAR > *Chars=nullptr) &&
 
void ReplaceEscapedCharWithCharInline (const TArray< TCHAR > *Chars=nullptr)
 
UE_NODISCARD FString ReplaceEscapedCharWithChar (const TArray< TCHAR > *Chars=nullptr) const &
 
UE_NODISCARD FString ReplaceEscapedCharWithChar (const TArray< TCHAR > *Chars=nullptr) &&
 
void ConvertTabsToSpacesInline (const int32 InSpacesPerTab)
 
UE_NODISCARD FString ConvertTabsToSpaces (const int32 InSpacesPerTab) const &
 
UE_NODISCARD FString ConvertTabsToSpaces (const int32 InSpacesPerTab) &&
 
void Reserve (int32 CharacterCount)
 
void SerializeAsANSICharArray (FArchive &Ar, int32 MinCharacters=0) const
 
void AppendInt (int32 InNum)
 
UE_NODISCARD bool ToBool () const
 
FORCEINLINE void CountBytes (FArchive &Ar) const
 

Static Public Member Functions

static bool ContainsWildcards (const TCHAR *Pattern)
 
static bool IsMatch (const TCHAR *Pattern, const TCHAR *Input)
 
static bool IsMatchSubstring (const TCHAR *Pattern, const TCHAR *Input, const TCHAR *InputEnd, ESearchCase::Type SearchCase=ESearchCase::CaseSensitive)
 
- Static Public Member Functions inherited from FString
static FString FromString (const std::string input)
 
static FString FromStringUTF8 (const std::string input)
 
template<typename T , typename... Args>
static FString Format (const T *format, Args &&... args)
 
template<typename FmtType , typename... Types>
static UE_NODISCARD FString Printf (const FmtType &Fmt, Types... Args)
 
static UE_NODISCARD FString Format (const TCHAR *InFormatString, const FStringFormatNamedArguments &InNamedArguments)
 
static UE_NODISCARD FString Format (const TCHAR *InFormatString, const FStringFormatOrderedArguments &InOrderedArguments)
 
static UE_NODISCARD FString Chr (TCHAR Ch)
 
static UE_NODISCARD FString ChrN (int32 NumCharacters, TCHAR Char)
 
static int32 CullArray (TArray< FString > *InArray)
 
static UE_NODISCARD FString FormatAsNumber (int32 InNumber)
 
static UE_NODISCARD FORCEINLINE FString FromInt (int32 Num)
 
static UE_NODISCARD FString FromBlob (const uint8 *SrcBuffer, const uint32 SrcSize)
 
static bool ToBlob (const FString &Source, uint8 *DestBuffer, const uint32 DestSize)
 
static UE_NODISCARD FString FromHexBlob (const uint8 *SrcBuffer, const uint32 SrcSize)
 
static bool ToHexBlob (const FString &Source, uint8 *DestBuffer, const uint32 DestSize)
 
static UE_NODISCARD FString SanitizeFloat (double InFloat, const int32 InMinFractionalDigits=1)
 
template<typename RangeType >
static UE_NODISCARD FString Join (const RangeType &Range, const TCHAR *Separator)
 
template<typename RangeType , typename ProjectionType >
static UE_NODISCARD FString JoinBy (const RangeType &Range, const TCHAR *Separator, ProjectionType Proj)
 

Static Protected Attributes

static const TCHAR EndOfString = TCHAR('\0')
 
static const TCHAR ExactWildcard = TCHAR('?')
 
static const TCHAR SequenceWildcard = TCHAR('*')
 

Additional Inherited Members

- Public Types inherited from FString
using AllocatorType = TSizedDefaultAllocator<32>
 
using ElementType = TCHAR
 
typedef DataType::TIterator TIterator
 
typedef DataType::TConstIterator TConstIterator
 

Detailed Description

Implements a string with wild card pattern matching abilities.

The FWildcardString is meant to hold the pattern you are matching against. For basic use, just call the static functions IsMatch() or IsMatchSubstring if you have FStringView

Definition at line 16 of file WildcardString.h.

Constructor & Destructor Documentation

◆ FWildcardString() [1/3]

FWildcardString::FWildcardString ( )
inline

Default constructor.

Definition at line 22 of file WildcardString.h.

+ Here is the call graph for this function:

◆ FWildcardString() [2/3]

FWildcardString::FWildcardString ( const FString & Pattern)
inline

Creates and initializes a new instance with the specified pattern.

Parameters
PatternThe pattern string.

Definition at line 31 of file WildcardString.h.

+ Here is the call graph for this function:

◆ FWildcardString() [3/3]

FWildcardString::FWildcardString ( const TCHAR * Pattern)
inline

Creates and initializes a new instance with the specified pattern.

Parameters
PatternThe pattern string.

Definition at line 40 of file WildcardString.h.

+ Here is the call graph for this function:

Member Function Documentation

◆ ContainsWildcards() [1/2]

bool FWildcardString::ContainsWildcards ( ) const
inline

Checks whether this string contains wild card characters.

Returns
true if this string contains wild cards, false otherwise.

Definition at line 51 of file WildcardString.h.

◆ ContainsWildcards() [2/2]

static bool FWildcardString::ContainsWildcards ( const TCHAR * Pattern)
static

Checks whether the specified pattern contains wild card characters.

Parameters
PatternThe string to check.
Returns
true if the string contains wild cards, false otherwise.

◆ IsMatch() [1/3]

bool FWildcardString::IsMatch ( const FString & Input) const
inline

Matches the given input string to this wild card pattern.

Parameters
InputThe string to match.
Returns
true if the input string matches this pattern, false otherwise.

Definition at line 73 of file WildcardString.h.

+ Here is the call graph for this function:

◆ IsMatch() [2/3]

bool FWildcardString::IsMatch ( const TCHAR * Input) const
inline

Matches the given input string to this wild card pattern.

Parameters
InputThe string to match.
Returns
true if the input string matches this pattern, false otherwise.

Definition at line 62 of file WildcardString.h.

◆ IsMatch() [3/3]

static bool FWildcardString::IsMatch ( const TCHAR * Pattern,
const TCHAR * Input )
static

Non-recursive wild card string matching algorithm.

Parameters
PatternThe pattern to match.
InputThe input string to check.

◆ IsMatchSubstring()

static bool FWildcardString::IsMatchSubstring ( const TCHAR * Pattern,
const TCHAR * Input,
const TCHAR * InputEnd,
ESearchCase::Type SearchCase = ESearchCase::CaseSensitive )
static

As IsMatch, except can accept the end of the input string in order to facilitate FStringView usage.

if ESearchCase::IgnoreCase is used, the pattern and input are ToLower()d before comparison (note - does not apply locale and just uses c runtime style tolower)

Member Data Documentation

◆ EndOfString

const TCHAR FWildcardString::EndOfString = TCHAR('\0')
staticprotected

Holds the string terminator character.

Definition at line 109 of file WildcardString.h.

◆ ExactWildcard

const TCHAR FWildcardString::ExactWildcard = TCHAR('?')
staticprotected

Holds the wild card that matches exactly one character (default is '?').

Definition at line 112 of file WildcardString.h.

◆ SequenceWildcard

const TCHAR FWildcardString::SequenceWildcard = TCHAR('*')
staticprotected

Holds the wild card that matches a sequence of characters (default is '*').

Definition at line 115 of file WildcardString.h.


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