Ark Server API (ASE) - Wiki
Loading...
Searching...
No Matches
TSortableMapBase< KeyType, ValueType, SetAllocator, KeyFuncs >::FKeyComparisonClass< PREDICATE_CLASS > Class Template Reference
+ Collaboration diagram for TSortableMapBase< KeyType, ValueType, SetAllocator, KeyFuncs >::FKeyComparisonClass< PREDICATE_CLASS >:

Public Member Functions

FORCEINLINE FKeyComparisonClass (const PREDICATE_CLASS &InPredicate)
 
FORCEINLINE bool operator() (const typename Super::ElementType &A, const typename Super::ElementType &B) const
 

Private Attributes

TDereferenceWrapper< KeyType, PREDICATE_CLASS > Predicate
 

Detailed Description

template<typename KeyType, typename ValueType, typename SetAllocator, typename KeyFuncs>
template<typename PREDICATE_CLASS>
class TSortableMapBase< KeyType, ValueType, SetAllocator, KeyFuncs >::FKeyComparisonClass< PREDICATE_CLASS >

Extracts the pair's key from the map's pair structure and passes it to the user provided comparison class.

Definition at line 816 of file Map.h.

Constructor & Destructor Documentation

◆ FKeyComparisonClass()

template<typename KeyType , typename ValueType , typename SetAllocator , typename KeyFuncs >
template<typename PREDICATE_CLASS >
FORCEINLINE TSortableMapBase< KeyType, ValueType, SetAllocator, KeyFuncs >::FKeyComparisonClass< PREDICATE_CLASS >::FKeyComparisonClass ( const PREDICATE_CLASS & InPredicate)
inline

Definition at line 822 of file Map.h.

Member Function Documentation

◆ operator()()

template<typename KeyType , typename ValueType , typename SetAllocator , typename KeyFuncs >
template<typename PREDICATE_CLASS >
FORCEINLINE bool TSortableMapBase< KeyType, ValueType, SetAllocator, KeyFuncs >::FKeyComparisonClass< PREDICATE_CLASS >::operator() ( const typename Super::ElementType & A,
const typename Super::ElementType & B ) const
inline

Definition at line 826 of file Map.h.

Member Data Documentation

◆ Predicate

template<typename KeyType , typename ValueType , typename SetAllocator , typename KeyFuncs >
template<typename PREDICATE_CLASS >
TDereferenceWrapper< KeyType, PREDICATE_CLASS> TSortableMapBase< KeyType, ValueType, SetAllocator, KeyFuncs >::FKeyComparisonClass< PREDICATE_CLASS >::Predicate
private

Definition at line 818 of file Map.h.


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