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

#include <ConfigCacheIni.h>

+ Inheritance diagram for FConfigSection:
+ Collaboration diagram for FConfigSection:

Public Member Functions

bool operator== (const FConfigSection &Other) const
 
bool operator!= (const FConfigSection &Other) const
 
void HandleAddCommand (FName Key, FString &&Value, bool bAppendValueIfNotArrayOfStructsKeyUsed)
 
bool HandleArrayOfKeyedStructsCommand (FName Key, FString &&Value)
 
template<typename Allocator >
void MultiFind (const FName Key, TArray< FConfigValue, Allocator > &OutValues, const bool bMaintainOrder=false) const
 
template<typename Allocator >
void MultiFind (const FName Key, TArray< FString, Allocator > &OutValues, const bool bMaintainOrder=false) const
 
- Public Member Functions inherited from TMultiMap< KeyType, ValueType, SetAllocator, KeyFuncs >
 TMultiMap ()=default
 
 TMultiMap (TMultiMap &&)=default
 
 TMultiMap (const TMultiMap &)=default
 
TMultiMapoperator= (TMultiMap &&)=default
 
TMultiMapoperator= (const TMultiMap &)=default
 
template<typename OtherSetAllocator >
 TMultiMap (TMultiMap< KeyType, ValueType, OtherSetAllocator, KeyFuncs > &&Other)
 
template<typename OtherSetAllocator >
 TMultiMap (const TMultiMap< KeyType, ValueType, OtherSetAllocator, KeyFuncs > &Other)
 
 TMultiMap (std::initializer_list< TPairInitializer< const KeyType &, const ValueType & > > InitList)
 
template<typename OtherSetAllocator >
TMultiMapoperator= (TMultiMap< KeyType, ValueType, OtherSetAllocator, KeyFuncs > &&Other)
 
template<typename OtherSetAllocator >
TMultiMapoperator= (const TMultiMap< KeyType, ValueType, OtherSetAllocator, KeyFuncs > &Other)
 
TMultiMapoperator= (std::initializer_list< TPairInitializer< const KeyType &, const ValueType & > > InitList)
 
template<typename Allocator >
void MultiFind (KeyInitType Key, TArray< ValueType, Allocator > &OutValues, bool bMaintainOrder=false) const
 
template<typename Allocator >
void MultiFindPointer (KeyInitType Key, TArray< const ValueType *, Allocator > &OutValues, bool bMaintainOrder=false) const
 
template<typename Allocator >
void MultiFindPointer (KeyInitType Key, TArray< ValueType *, Allocator > &OutValues, bool bMaintainOrder=false)
 
FORCEINLINE ValueType & AddUnique (const KeyType &InKey, const ValueType &InValue)
 
FORCEINLINE ValueType & AddUnique (const KeyType &InKey, ValueType &&InValue)
 
FORCEINLINE ValueType & AddUnique (KeyType &&InKey, const ValueType &InValue)
 
FORCEINLINE ValueType & AddUnique (KeyType &&InKey, ValueType &&InValue)
 
template<typename InitKeyType , typename InitValueType >
ValueType & EmplaceUnique (InitKeyType &&InKey, InitValueType &&InValue)
 
FORCEINLINE int32 Remove (KeyConstPointerType InKey)
 
int32 Remove (KeyInitType InKey, ValueInitType InValue)
 
int32 RemoveSingle (KeyInitType InKey, ValueInitType InValue)
 
FORCEINLINE const ValueType * FindPair (KeyInitType Key, ValueInitType Value) const
 
ValueType * FindPair (KeyInitType Key, ValueInitType Value)
 
int32 Num (KeyInitType Key) const
 
FORCEINLINE int32 Num () const
 
template<typename OtherSetAllocator >
void Append (TMultiMap< KeyType, ValueType, OtherSetAllocator, KeyFuncs > &&OtherMultiMap)
 
template<typename OtherSetAllocator >
void Append (const TMultiMap< KeyType, ValueType, OtherSetAllocator, KeyFuncs > &OtherMultiMap)
 
- Public Member Functions inherited from TSortableMapBase< KeyType, ValueType, SetAllocator, KeyFuncs >
template<typename PREDICATE_CLASS >
FORCEINLINE void KeySort (const PREDICATE_CLASS &Predicate)
 
template<typename PREDICATE_CLASS >
FORCEINLINE void KeyStableSort (const PREDICATE_CLASS &Predicate)
 
template<typename PREDICATE_CLASS >
FORCEINLINE void ValueSort (const PREDICATE_CLASS &Predicate)
 
template<typename PREDICATE_CLASS >
FORCEINLINE void ValueStableSort (const PREDICATE_CLASS &Predicate)
 
void SortFreeList ()
 
- Public Member Functions inherited from TMapBase< KeyType, ValueType, SetAllocator, KeyFuncs >
bool OrderIndependentCompareEqual (const TMapBase &Other) const
 
FORCEINLINE void Empty (int32 ExpectedNumElements=0)
 
FORCEINLINE void Reset ()
 
FORCEINLINE void Shrink ()
 
FORCEINLINE void Compact ()
 
FORCEINLINE void CompactStable ()
 
FORCEINLINE void Reserve (int32 Number)
 
bool IsEmpty () const
 
FORCEINLINE int32 Num () const
 
template<typename Allocator >
int32 GetKeys (TArray< KeyType, Allocator > &OutKeys) const
 
template<typename Allocator >
int32 GetKeys (TSet< KeyType, Allocator > &OutKeys) const
 
FORCEINLINE SIZE_T GetAllocatedSize () const
 
FORCEINLINE void CountBytes (FArchive &Ar) const
 
FORCEINLINE ValueType & Add (const KeyType &InKey, const ValueType &InValue)
 
FORCEINLINE ValueType & Add (const KeyType &InKey, ValueType &&InValue)
 
FORCEINLINE ValueType & Add (KeyType &&InKey, const ValueType &InValue)
 
FORCEINLINE ValueType & Add (KeyType &&InKey, ValueType &&InValue)
 
FORCEINLINE ValueType & AddByHash (uint32 KeyHash, const KeyType &InKey, const ValueType &InValue)
 
FORCEINLINE ValueType & AddByHash (uint32 KeyHash, const KeyType &InKey, ValueType &&InValue)
 
FORCEINLINE ValueType & AddByHash (uint32 KeyHash, KeyType &&InKey, const ValueType &InValue)
 
FORCEINLINE ValueType & AddByHash (uint32 KeyHash, KeyType &&InKey, ValueType &&InValue)
 
FORCEINLINE ValueType & Add (const KeyType &InKey)
 
FORCEINLINE ValueType & Add (KeyType &&InKey)
 
FORCEINLINE ValueType & AddByHash (uint32 KeyHash, const KeyType &InKey)
 
FORCEINLINE ValueType & AddByHash (uint32 KeyHash, KeyType &&InKey)
 
FORCEINLINE ValueType & Add (const TTuple< KeyType, ValueType > &InKeyValue)
 
FORCEINLINE ValueType & Add (TTuple< KeyType, ValueType > &&InKeyValue)
 
template<typename InitKeyType = KeyType, typename InitValueType = ValueType>
ValueType & Emplace (InitKeyType &&InKey, InitValueType &&InValue)
 
template<typename InitKeyType = KeyType, typename InitValueType = ValueType>
ValueType & EmplaceByHash (uint32 KeyHash, InitKeyType &&InKey, InitValueType &&InValue)
 
template<typename InitKeyType = KeyType>
ValueType & Emplace (InitKeyType &&InKey)
 
template<typename InitKeyType = KeyType>
ValueType & EmplaceByHash (uint32 KeyHash, InitKeyType &&InKey)
 
FORCEINLINE int32 Remove (KeyConstPointerType InKey)
 
template<typename ComparableKey >
FORCEINLINE int32 RemoveByHash (uint32 KeyHash, const ComparableKey &Key)
 
const KeyType * FindKey (ValueInitType Value) const
 
template<typename Predicate >
TMap< KeyType, ValueType > FilterByPredicate (Predicate Pred) const
 
FORCEINLINE ValueType * Find (KeyConstPointerType Key)
 
FORCEINLINE const ValueType * Find (KeyConstPointerType Key) const
 
template<typename ComparableKey >
FORCEINLINE ValueType * FindByHash (uint32 KeyHash, const ComparableKey &Key)
 
template<typename ComparableKey >
FORCEINLINE const ValueType * FindByHash (uint32 KeyHash, const ComparableKey &Key) const
 
FORCEINLINE ValueType & FindOrAdd (const KeyType &Key)
 
FORCEINLINE ValueType & FindOrAdd (KeyType &&Key)
 
FORCEINLINE ValueType & FindOrAddByHash (uint32 KeyHash, const KeyType &Key)
 
FORCEINLINE ValueType & FindOrAddByHash (uint32 KeyHash, KeyType &&Key)
 
FORCEINLINE ValueType & FindOrAdd (const KeyType &Key, const ValueType &Value)
 
FORCEINLINE ValueType & FindOrAdd (const KeyType &Key, ValueType &&Value)
 
FORCEINLINE ValueType & FindOrAdd (KeyType &&Key, const ValueType &Value)
 
FORCEINLINE ValueType & FindOrAdd (KeyType &&Key, ValueType &&Value)
 
FORCEINLINE ValueType & FindOrAddByHash (uint32 KeyHash, const KeyType &Key, const ValueType &Value)
 
FORCEINLINE ValueType & FindOrAddByHash (uint32 KeyHash, const KeyType &Key, ValueType &&Value)
 
FORCEINLINE ValueType & FindOrAddByHash (uint32 KeyHash, KeyType &&Key, const ValueType &Value)
 
FORCEINLINE ValueType & FindOrAddByHash (uint32 KeyHash, KeyType &&Key, ValueType &&Value)
 
FORCEINLINE const ValueType & FindChecked (KeyConstPointerType Key) const
 
FORCEINLINE ValueType & FindChecked (KeyConstPointerType Key)
 
FORCEINLINE ValueType FindRef (KeyConstPointerType Key) const
 
FORCEINLINE bool Contains (KeyConstPointerType Key) const
 
template<typename ComparableKey >
FORCEINLINE bool ContainsByHash (uint32 KeyHash, const ComparableKey &Key) const
 
TArray< ElementTypeArray () const
 
template<typename Allocator >
void GenerateKeyArray (TArray< KeyType, Allocator > &OutArray) const
 
template<typename Allocator >
void GenerateValueArray (TArray< ValueType, Allocator > &OutArray) const
 
void Dump (FOutputDevice &Ar)
 
void WriteMemoryImage (FMemoryImageWriter &Writer) const
 
void CopyUnfrozen (const FMemoryUnfreezeContent &Context, void *Dst) const
 
FORCEINLINE TIterator CreateIterator ()
 
FORCEINLINE TConstIterator CreateConstIterator () const
 
FORCEINLINE TKeyIterator CreateKeyIterator (typename TKeyIterator::KeyArgumentType InKey)
 
FORCEINLINE TConstKeyIterator CreateConstKeyIterator (typename TConstKeyIterator::KeyArgumentType InKey) const
 
FORCEINLINE TRangedForIterator begin ()
 
FORCEINLINE TRangedForConstIterator begin () const
 
FORCEINLINE TRangedForIterator end ()
 
FORCEINLINE TRangedForConstIterator end () const
 

Static Public Member Functions

static bool HasQuotes (const FString &Test)
 
- Static Public Member Functions inherited from TMapBase< KeyType, ValueType, SetAllocator, KeyFuncs >
static void AppendHash (const FPlatformTypeLayoutParameters &LayoutParams, FSHA1 &Hasher)
 

Public Attributes

TMap< FName, FStringArrayOfStructKeys
 

Friends

FArchiveoperator<< (FArchive &Ar, FConfigSection &ConfigSection)
 

Additional Inherited Members

- Public Types inherited from TMultiMap< KeyType, ValueType, SetAllocator, KeyFuncs >
typedef TSortableMapBase< KeyType, ValueType, SetAllocator, KeyFuncsSuper
 
typedef Super::KeyConstPointerType KeyConstPointerType
 
typedef Super::KeyInitType KeyInitType
 
typedef Super::ValueInitType ValueInitType
 
- Public Types inherited from TMapBase< KeyType, ValueType, SetAllocator, KeyFuncs >
typedef TTypeTraits< KeyType >::ConstPointerType KeyConstPointerType
 
typedef TTypeTraits< KeyType >::ConstInitType KeyInitType
 
typedef TTypeTraits< ValueType >::ConstInitType ValueInitType
 
typedef TPair< KeyType, ValueType > ElementType
 
using TRangedForIterator = TBaseIterator<false, true>
 
using TRangedForConstIterator = TBaseIterator<true, true>
 
- Protected Types inherited from TSortableMapBase< KeyType, ValueType, SetAllocator, KeyFuncs >
typedef TMapBase< KeyType, ValueType, SetAllocator, KeyFuncsSuper
 
- Protected Types inherited from TMapBase< KeyType, ValueType, SetAllocator, KeyFuncs >
typedef TSet< ElementType, KeyFuncs, SetAllocatorElementSetType
 
- Protected Member Functions inherited from TSortableMapBase< KeyType, ValueType, SetAllocator, KeyFuncs >
 TSortableMapBase ()=default
 
 TSortableMapBase (TSortableMapBase &&)=default
 
 TSortableMapBase (const TSortableMapBase &)=default
 
TSortableMapBaseoperator= (TSortableMapBase &&)=default
 
TSortableMapBaseoperator= (const TSortableMapBase &)=default
 
template<typename OtherSetAllocator >
 TSortableMapBase (TSortableMapBase< KeyType, ValueType, OtherSetAllocator, KeyFuncs > &&Other)
 
template<typename OtherSetAllocator >
 TSortableMapBase (const TSortableMapBase< KeyType, ValueType, OtherSetAllocator, KeyFuncs > &Other)
 
template<typename OtherSetAllocator >
TSortableMapBaseoperator= (TSortableMapBase< KeyType, ValueType, OtherSetAllocator, KeyFuncs > &&Other)
 
template<typename OtherSetAllocator >
TSortableMapBaseoperator= (const TSortableMapBase< KeyType, ValueType, OtherSetAllocator, KeyFuncs > &Other)
 
- Protected Member Functions inherited from TMapBase< KeyType, ValueType, SetAllocator, KeyFuncs >
 TMapBase ()=default
 
 TMapBase (TMapBase &&)=default
 
 TMapBase (const TMapBase &)=default
 
TMapBaseoperator= (TMapBase &&)=default
 
TMapBaseoperator= (const TMapBase &)=default
 
template<typename OtherSetAllocator >
 TMapBase (TMapBase< KeyType, ValueType, OtherSetAllocator, KeyFuncs > &&Other)
 
template<typename OtherSetAllocator >
 TMapBase (const TMapBase< KeyType, ValueType, OtherSetAllocator, KeyFuncs > &Other)
 
template<typename OtherSetAllocator >
TMapBaseoperator= (TMapBase< KeyType, ValueType, OtherSetAllocator, KeyFuncs > &&Other)
 
template<typename OtherSetAllocator >
TMapBaseoperator= (const TMapBase< KeyType, ValueType, OtherSetAllocator, KeyFuncs > &Other)
 
- Protected Attributes inherited from TMapBase< KeyType, ValueType, SetAllocator, KeyFuncs >
ElementSetType Pairs
 

Detailed Description

Definition at line 317 of file ConfigCacheIni.h.

Member Function Documentation

◆ HandleAddCommand()

void FConfigSection::HandleAddCommand ( FName Key,
FString && Value,
bool bAppendValueIfNotArrayOfStructsKeyUsed )

◆ HandleArrayOfKeyedStructsCommand()

bool FConfigSection::HandleArrayOfKeyedStructsCommand ( FName Key,
FString && Value )

◆ HasQuotes()

static bool FConfigSection::HasQuotes ( const FString & Test)
static

Check whether the input string is surrounded by quotes

Parameters
TestThe string to check
Returns
true if the input string is surrounded by quotes

◆ MultiFind() [1/2]

template<typename Allocator >
void FConfigSection::MultiFind ( const FName Key,
TArray< FConfigValue, Allocator > & OutValues,
const bool bMaintainOrder = false ) const
inline

Definition at line 337 of file ConfigCacheIni.h.

◆ MultiFind() [2/2]

template<typename Allocator >
void FConfigSection::MultiFind ( const FName Key,
TArray< FString, Allocator > & OutValues,
const bool bMaintainOrder = false ) const
inline

Definition at line 343 of file ConfigCacheIni.h.

◆ operator!=()

bool FConfigSection::operator!= ( const FConfigSection & Other) const

◆ operator==()

bool FConfigSection::operator== ( const FConfigSection & Other) const

Friends And Related Symbol Documentation

◆ operator<<

FArchive & operator<< ( FArchive & Ar,
FConfigSection & ConfigSection )
friend

Member Data Documentation

◆ ArrayOfStructKeys

TMap<FName, FString> FConfigSection::ArrayOfStructKeys

Definition at line 357 of file ConfigCacheIni.h.


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