![]() |
Ark Server API (ASA) - Wiki
|
#include "Containers/Array.h"#include "Containers/StringConv.h"#include "Containers/UnrealString.h"#include "CoreGlobals.h"#include "CoreTypes.h"#include "HAL/PlatformString.h"#include "HAL/UnrealMemory.h"#include "Math/NumericLimits.h"#include "Math/UnrealMathUtility.h"#include "Misc/AssertionMacros.h"#include "Misc/ByteSwap.h"#include "Misc/CString.h"#include "Misc/Char.h"#include "Misc/VarArgs.h"#include "Serialization/Archive.h"#include "String/HexToBytes.h"#include "Templates/MemoryOps.h"#include "Templates/RemoveReference.h"#include "Templates/UnrealTemplate.h"#include "UObject/NameTypes.h"#include "API/Fields.h"
Include dependency graph for String.cpp:Go to the source code of this file.
Classes | |
| struct | UE::Core::String::Private::FCompareCharsCaseSensitive |
| struct | UE::Core::String::Private::FCompareCharsCaseInsensitive |
Namespaces | |
| namespace | UE |
| namespace | UE::Core |
| namespace | UE::Core::String |
| namespace | UE::Core::String::Private |
| namespace | UE::String |
| namespace | UE::String::Private |
Macros | |
| #define | STARTING_BUFFER_SIZE 512 |
Functions | |
| template<typename CompareType > | |
| bool | UE::Core::String::Private::MatchesWildcardRecursive (const TCHAR *Target, int32 TargetLength, const TCHAR *Wildcard, int32 WildcardLength) |
| template<typename CharType > | |
| void | AppendCharacters (TArray< TCHAR > &Out, const CharType *Str, int32 Count) |
| template<typename CharType > | |
| FORCEINLINE void | UE::String::Private::ConstructFromCString (TArray< TCHAR > &Data, const CharType *Src) |
| template<typename CharType > | |
| FORCEINLINE void | UE::String::Private::ConstructWithLength (TArray< TCHAR > &Data, int32 InCount, const CharType *InSrc) |
| template<typename CharType > | |
| FORCEINLINE void | UE::String::Private::ConstructWithSlack (TArray< TCHAR > &Data, const CharType *Src, int32 ExtraSlack) |
| template<typename LhsType , typename RhsType > | |
| UE_NODISCARD FORCEINLINE FString | UE::String::Private::ConcatFStrings (LhsType &&Lhs, RhsType &&Rhs) |
| template<typename RhsType > | |
| UE_NODISCARD FORCEINLINE FString | UE::String::Private::ConcatRangeFString (const TCHAR *Lhs, int32 LhsLen, RhsType &&Rhs) |
| template<typename LhsType > | |
| UE_NODISCARD FORCEINLINE FString | UE::String::Private::ConcatFStringRange (LhsType &&Lhs, const TCHAR *Rhs, int32 RhsLen) |
| template<typename RhsType > | |
| UE_NODISCARD FORCEINLINE FString | UE::String::Private::ConcatCStringFString (const TCHAR *Lhs, RhsType &&Rhs) |
| template<typename LhsType > | |
| UE_NODISCARD FORCEINLINE FString | UE::String::Private::ConcatFStringCString (LhsType &&Lhs, const TCHAR *Rhs) |
| UE_DISABLE_OPTIMIZATION_SHIP void | StripNegativeZero (double &InFloat) |
| FArchive & | operator<< (FArchive &Ar, FString &A) |
| template<typename CharType > | |
| int32 | HexToBytes (const FString &HexString, uint8 *OutBytes) |
| int32 | FindMatchingClosingParenthesis (const FString &TargetString, const int32 StartSearch) |
| FString | SlugStringForValidName (const FString &DisplayString, const TCHAR *ReplaceWith) |
Variables | |
| static const TCHAR * | CharToEscapeSeqMap [][2] |
| static const uint32 | MaxSupportedEscapeChars = UE_ARRAY_COUNT(CharToEscapeSeqMap) |
| #define STARTING_BUFFER_SIZE 512 |
Definition at line 1325 of file String.cpp.
| void AppendCharacters | ( | TArray< TCHAR > & | Out, |
| const CharType * | Str, | ||
| int32 | Count ) |
Definition at line 132 of file String.cpp.
A helper function to find closing parenthesis that matches the first open parenthesis found. The open parenthesis referred to must be at or further up from the start index.
| TargetString | The string to search in |
| StartSearch | The index to start searching at |
Definition at line 1512 of file String.cpp.
Here is the call graph for this function:Definition at line 1493 of file String.cpp.
Serializes the string.
| Ar | Reference to the serialization archive. |
| S | Reference to the string being serialized. |
Definition at line 1363 of file String.cpp.
| FString SlugStringForValidName | ( | const FString & | DisplayString, |
| const TCHAR * | ReplaceWith = TEXT("") ) |
Given a display label string, generates an FString slug that only contains valid characters for an FName. For example, "[MyObject]: Object Label" becomes "MyObjectObjectLabel" FName slug.
| DisplayLabel | The label string to convert to an FName |
Definition at line 1555 of file String.cpp.
| UE_DISABLE_OPTIMIZATION_SHIP void StripNegativeZero | ( | double & | InFloat | ) |
|
static |
|
static |
Definition at line 1274 of file String.cpp.