Ark Server API (ASE) - Wiki
Loading...
Searching...
No Matches
TKeyValuePair< KeyType, ValueType > Struct Template Reference

#include <UnrealTemplate.h>

Public Member Functions

 TKeyValuePair (const KeyType &InKey, const ValueType &InValue)
 
 TKeyValuePair (const KeyType &InKey)
 
 TKeyValuePair ()
 
bool operator== (const TKeyValuePair &Other) const
 
bool operator!= (const TKeyValuePair &Other) const
 
bool operator< (const TKeyValuePair &Other) const
 
FORCEINLINE bool operator() (const TKeyValuePair &A, const TKeyValuePair &B) const
 

Public Attributes

KeyType Key
 
ValueType Value
 

Detailed Description

template<typename KeyType, typename ValueType>
struct TKeyValuePair< KeyType, ValueType >

Helper class to make it easy to use key/value pairs with a container.

Definition at line 304 of file UnrealTemplate.h.

Constructor & Destructor Documentation

◆ TKeyValuePair() [1/3]

template<typename KeyType , typename ValueType >
TKeyValuePair< KeyType, ValueType >::TKeyValuePair ( const KeyType & InKey,
const ValueType & InValue )
inline

Definition at line 306 of file UnrealTemplate.h.

◆ TKeyValuePair() [2/3]

template<typename KeyType , typename ValueType >
TKeyValuePair< KeyType, ValueType >::TKeyValuePair ( const KeyType & InKey)
inline

Definition at line 310 of file UnrealTemplate.h.

◆ TKeyValuePair() [3/3]

template<typename KeyType , typename ValueType >
TKeyValuePair< KeyType, ValueType >::TKeyValuePair ( )
inline

Definition at line 314 of file UnrealTemplate.h.

Member Function Documentation

◆ operator!=()

template<typename KeyType , typename ValueType >
bool TKeyValuePair< KeyType, ValueType >::operator!= ( const TKeyValuePair< KeyType, ValueType > & Other) const
inline

Definition at line 321 of file UnrealTemplate.h.

◆ operator()()

template<typename KeyType , typename ValueType >
FORCEINLINE bool TKeyValuePair< KeyType, ValueType >::operator() ( const TKeyValuePair< KeyType, ValueType > & A,
const TKeyValuePair< KeyType, ValueType > & B ) const
inline

Definition at line 329 of file UnrealTemplate.h.

◆ operator<()

template<typename KeyType , typename ValueType >
bool TKeyValuePair< KeyType, ValueType >::operator< ( const TKeyValuePair< KeyType, ValueType > & Other) const
inline

Definition at line 325 of file UnrealTemplate.h.

◆ operator==()

template<typename KeyType , typename ValueType >
bool TKeyValuePair< KeyType, ValueType >::operator== ( const TKeyValuePair< KeyType, ValueType > & Other) const
inline

Definition at line 317 of file UnrealTemplate.h.

Member Data Documentation

◆ Key

template<typename KeyType , typename ValueType >
KeyType TKeyValuePair< KeyType, ValueType >::Key

Definition at line 333 of file UnrealTemplate.h.

◆ Value

template<typename KeyType , typename ValueType >
ValueType TKeyValuePair< KeyType, ValueType >::Value

Definition at line 334 of file UnrealTemplate.h.


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