A Demo Project for the UnrealEngineSDK
Loading...
Searching...
No Matches
FDlgTestHelper Struct Reference

#include <DlgTesterHelper.h>

Static Public Member Functions

template<typename ValueType >
static void CheckMapStringKeyInvariants (const TMap< FString, ValueType > &ThisMap)
 
template<typename ArrayType >
static bool IsComplexArrayEqual (const TArray< ArrayType > &ThisArray, const TArray< ArrayType > &OtherArray, const FString &PropertyName, FString &OutError)
 
template<typename KeyType , typename ValueType >
static bool IsComplexMapValueEqual (const TMap< KeyType, ValueType > &ThisMap, const TMap< KeyType, ValueType > &OtherMap, const FString &PropertyName, FString &OutError, std::function< FString(const KeyType &)> GetKeyTypeAsString, std::function< FString(const ValueType &)> GetValueTypeAsString)
 
template<typename ArrayType >
static bool IsComplexPointerArrayEqual (const TArray< ArrayType * > &ThisArray, const TArray< ArrayType * > &OtherArray, const FString &PropertyName, FString &OutError)
 
template<typename KeyType , typename ValueType >
static bool IsComplexPointersMapEqual (const TMap< KeyType, ValueType * > &ThisMap, const TMap< KeyType, ValueType * > &OtherMap, const FString &PropertyName, FString &OutError, std::function< FString(const KeyType &)> GetKeyTypeAsString)
 
template<typename ArrayType >
static bool IsPrimitiveArrayEqual (const TArray< ArrayType > &ThisArray, const TArray< ArrayType > &OtherArray, const FString &PropertyName, FString &OutError, std::function< FString(const ArrayType &)> GetArrayTypeAsString)
 
template<typename KeyType , typename ValueType >
static bool IsPrimitiveMapEqual (const TMap< KeyType, ValueType > &ThisMap, const TMap< KeyType, ValueType > &OtherMap, const FString &PropertyName, FString &OutError, std::function< FString(const KeyType &)> GetKeyTypeAsString, std::function< FString(const ValueType &)> GetValueTypeAsString)
 
template<typename SetType >
static bool IsSetEqual (const TSet< SetType > &ThisSet, const TSet< SetType > &OtherSet, const FString &PropertyName, FString &OutError, std::function< FString(const SetType &)> GetSetTypeAsString)
 

Static Public Attributes

static std::function< FString(const FColor &) ColorToString )
 
static std::function< FString(const float &) FloatToString )
 
static std::function< FString(const int32 &) Int32ToString )
 
static std::function< FString(const int64 &) Int64ToString )
 
static std::function< FString(const FName &) NameToString )
 
static std::function< FString(const FString &) StringToString )
 
static std::function< FString(const FVector &) VectorToString )
 

Detailed Description

Helpers for tests

Definition at line 264 of file DlgTesterHelper.h.

Member Function Documentation

◆ CheckMapStringKeyInvariants()

template<typename ValueType >
static void FDlgTestHelper::CheckMapStringKeyInvariants ( const TMap< FString, ValueType > & ThisMap)
inlinestatic

Definition at line 270 of file DlgTesterHelper.h.

Here is the caller graph for this function:

◆ IsComplexArrayEqual()

template<typename ArrayType >
static bool FDlgTestHelper::IsComplexArrayEqual ( const TArray< ArrayType > & ThisArray,
const TArray< ArrayType > & OtherArray,
const FString & PropertyName,
FString & OutError )
inlinestatic

Definition at line 338 of file DlgTesterHelper.h.

Here is the call graph for this function:

◆ IsComplexMapValueEqual()

template<typename KeyType , typename ValueType >
static bool FDlgTestHelper::IsComplexMapValueEqual ( const TMap< KeyType, ValueType > & ThisMap,
const TMap< KeyType, ValueType > & OtherMap,
const FString & PropertyName,
FString & OutError,
std::function< FString(const KeyType &)> GetKeyTypeAsString,
std::function< FString(const ValueType &)> GetValueTypeAsString )
inlinestatic

Definition at line 297 of file DlgTesterHelper.h.

Here is the call graph for this function:

◆ IsComplexPointerArrayEqual()

template<typename ArrayType >
static bool FDlgTestHelper::IsComplexPointerArrayEqual ( const TArray< ArrayType * > & ThisArray,
const TArray< ArrayType * > & OtherArray,
const FString & PropertyName,
FString & OutError )
inlinestatic

Definition at line 353 of file DlgTesterHelper.h.

Here is the call graph for this function:

◆ IsComplexPointersMapEqual()

template<typename KeyType , typename ValueType >
static bool FDlgTestHelper::IsComplexPointersMapEqual ( const TMap< KeyType, ValueType * > & ThisMap,
const TMap< KeyType, ValueType * > & OtherMap,
const FString & PropertyName,
FString & OutError,
std::function< FString(const KeyType &)> GetKeyTypeAsString )
inlinestatic

Definition at line 310 of file DlgTesterHelper.h.

Here is the call graph for this function:

◆ IsPrimitiveArrayEqual()

template<typename ArrayType >
static bool FDlgTestHelper::IsPrimitiveArrayEqual ( const TArray< ArrayType > & ThisArray,
const TArray< ArrayType > & OtherArray,
const FString & PropertyName,
FString & OutError,
std::function< FString(const ArrayType &)> GetArrayTypeAsString )
inlinestatic

Definition at line 331 of file DlgTesterHelper.h.

Here is the call graph for this function:

◆ IsPrimitiveMapEqual()

template<typename KeyType , typename ValueType >
static bool FDlgTestHelper::IsPrimitiveMapEqual ( const TMap< KeyType, ValueType > & ThisMap,
const TMap< KeyType, ValueType > & OtherMap,
const FString & PropertyName,
FString & OutError,
std::function< FString(const KeyType &)> GetKeyTypeAsString,
std::function< FString(const ValueType &)> GetValueTypeAsString )
inlinestatic

Definition at line 288 of file DlgTesterHelper.h.

Here is the call graph for this function:

◆ IsSetEqual()

template<typename SetType >
static bool FDlgTestHelper::IsSetEqual ( const TSet< SetType > & ThisSet,
const TSet< SetType > & OtherSet,
const FString & PropertyName,
FString & OutError,
std::function< FString(const SetType &)> GetSetTypeAsString )
inlinestatic

Definition at line 281 of file DlgTesterHelper.h.

Here is the call graph for this function:

Member Data Documentation

◆ ColorToString

std::function<FString(const FColor&) FDlgTestHelper::ColorToString)
static

Definition at line 36 of file DlgTesterHelper.h.

◆ FloatToString

std::function<FString(const float&) FDlgTestHelper::FloatToString)
static

Definition at line 26 of file DlgTesterHelper.h.

◆ Int32ToString

std::function<FString(const int32&) FDlgTestHelper::Int32ToString)
static

Definition at line 5 of file DlgTesterHelper.h.

◆ Int64ToString

std::function<FString(const int64&) FDlgTestHelper::Int64ToString)
static

Definition at line 10 of file DlgTesterHelper.h.

◆ NameToString

std::function<FString(const FName&) FDlgTestHelper::NameToString)
static

Definition at line 16 of file DlgTesterHelper.h.

◆ StringToString

std::function<FString(const FString&) FDlgTestHelper::StringToString)
static

Definition at line 21 of file DlgTesterHelper.h.

◆ VectorToString

std::function<FString(const FVector&) FDlgTestHelper::VectorToString)
static

Definition at line 31 of file DlgTesterHelper.h.


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