|
| FWildcardString () |
|
| FWildcardString (const FString &Pattern) |
|
| FWildcardString (const TCHAR *Pattern) |
|
bool | ContainsWildcards () const |
|
bool | IsMatch (const TCHAR *Input) const |
|
bool | IsMatch (const FString &Input) const |
|
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 |
|
FString & | operator= (FString &&)=default |
|
FString & | operator= (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 FString & | operator= (const TCHAR *Str) |
|
template<typename CharRangeType , typename TEnableIf< TIsTCharRangeNotCArray< CharRangeType >::Value >::Type * = nullptr> |
FORCEINLINE FString & | operator= (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 DataType & | GetCharArray () UE_LIFETIMEBOUND |
|
UE_NODISCARD FORCEINLINE const DataType & | GetCharArray () 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 FString & | Append (const CharType *Str, int32 Count) |
|
template<class CharType > |
FORCEINLINE FString & | Append (CharType *Str) |
|
template<typename CharRangeType , typename TEnableIf< TIsCharRangeNotCArray< CharRangeType >::Value >::Type * = nullptr> |
FORCEINLINE FString & | Append (CharRangeType &&Str) |
|
FString & | AppendChar (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 FString & | operator+= (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 FString & | operator/= (const TCHAR *Str) |
|
template<typename CharRangeType , typename TEnableIf< TIsTCharRangeNotCArray< CharRangeType >::Value >::Type * = nullptr> |
FORCEINLINE FString & | operator/= (CharRangeType &&Str) |
|
template<typename CharType , typename TEnableIf< TIsCharType< CharType >::Value >::Type * = nullptr> |
FORCEINLINE FString & | operator/= (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> |
FString & | Appendf (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 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 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) |
|
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.