Ark Server API (ASE) - Wiki
Loading...
Searching...
No Matches
TSetElement< InElementType > Class Template Reference

#include <Set.h>

+ Collaboration diagram for TSetElement< InElementType >:

Public Types

typedef InElementType ElementType
 

Public Member Functions

FORCEINLINE TSetElement ()
 
template<typename InitType , typename = typename TEnableIf<!TAreTypesEqual<TSetElement, typename TDecay<InitType>::Type>::Value>::Type>
FORCEINLINE TSetElement (InitType &&InValue)
 
FORCEINLINE TSetElement (const TSetElement &Rhs)
 
FORCEINLINE TSetElement (TSetElement &&Rhs)
 
FORCEINLINE TSetElementoperator= (const TSetElement &Rhs)
 
FORCEINLINE TSetElementoperator= (TSetElement &&Rhs)
 
FORCEINLINE bool operator== (const TSetElement &Other) const
 
FORCEINLINE bool operator!= (const TSetElement &Other) const
 

Public Attributes

ElementType Value
 
FSetElementId HashNextId
 
int32 HashIndex
 

Detailed Description

template<typename InElementType>
class TSetElement< InElementType >

An element in the set.

Definition at line 141 of file Set.h.

Member Typedef Documentation

◆ ElementType

template<typename InElementType >
typedef InElementType TSetElement< InElementType >::ElementType

Definition at line 144 of file Set.h.

Constructor & Destructor Documentation

◆ TSetElement() [1/4]

template<typename InElementType >
FORCEINLINE TSetElement< InElementType >::TSetElement ( )
inline

Default constructor.

Definition at line 156 of file Set.h.

◆ TSetElement() [2/4]

template<typename InElementType >
template<typename InitType , typename = typename TEnableIf<!TAreTypesEqual<TSetElement, typename TDecay<InitType>::Type>::Value>::Type>
FORCEINLINE TSetElement< InElementType >::TSetElement ( InitType && InValue)
inlineexplicit

Initialization constructor.

Definition at line 160 of file Set.h.

◆ TSetElement() [3/4]

template<typename InElementType >
FORCEINLINE TSetElement< InElementType >::TSetElement ( const TSetElement< InElementType > & Rhs)
inline

Copy/move constructors

Definition at line 163 of file Set.h.

◆ TSetElement() [4/4]

template<typename InElementType >
FORCEINLINE TSetElement< InElementType >::TSetElement ( TSetElement< InElementType > && Rhs)
inline

Definition at line 164 of file Set.h.

Member Function Documentation

◆ operator!=()

template<typename InElementType >
FORCEINLINE bool TSetElement< InElementType >::operator!= ( const TSetElement< InElementType > & Other) const
inline

Definition at line 175 of file Set.h.

◆ operator=() [1/2]

template<typename InElementType >
FORCEINLINE TSetElement & TSetElement< InElementType >::operator= ( const TSetElement< InElementType > & Rhs)
inline

Copy/move assignment

Definition at line 167 of file Set.h.

◆ operator=() [2/2]

template<typename InElementType >
FORCEINLINE TSetElement & TSetElement< InElementType >::operator= ( TSetElement< InElementType > && Rhs)
inline

Definition at line 168 of file Set.h.

◆ operator==()

template<typename InElementType >
FORCEINLINE bool TSetElement< InElementType >::operator== ( const TSetElement< InElementType > & Other) const
inline

Definition at line 171 of file Set.h.

Member Data Documentation

◆ HashIndex

template<typename InElementType >
int32 TSetElement< InElementType >::HashIndex
mutable

The hash bucket that the element is currently linked to.

Definition at line 153 of file Set.h.

◆ HashNextId

template<typename InElementType >
FSetElementId TSetElement< InElementType >::HashNextId
mutable

The id of the next element in the same hash bucket.

Definition at line 150 of file Set.h.

◆ Value

template<typename InElementType >
ElementType TSetElement< InElementType >::Value

The element's value.

Definition at line 147 of file Set.h.


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