Ark Server API (ASE) - Wiki
Loading...
Searching...
No Matches
TSet< InElementType, KeyFuncs, Allocator >::TBaseKeyIterator< bConst > Class Template Reference
+ Inheritance diagram for TSet< InElementType, KeyFuncs, Allocator >::TBaseKeyIterator< bConst >:
+ Collaboration diagram for TSet< InElementType, KeyFuncs, Allocator >::TBaseKeyIterator< bConst >:

Public Member Functions

FORCEINLINE TBaseKeyIterator (SetType &InSet, KeyInitType InKey)
 
FORCEINLINE TBaseKeyIteratoroperator++ ()
 
FORCEINLINE operator bool () const
 
FORCEINLINE bool operator! () const
 
FORCEINLINE ItElementTypeoperator-> () const
 
FORCEINLINE ItElementTypeoperator* () const
 

Protected Attributes

SetTypeSet
 
TTypeTraits< typenameKeyFuncs::KeyType >::ConstPointerType Key
 
FSetElementId Id
 
FSetElementId NextId
 

Private Types

typedef TChooseClass< bConst, constTSet, TSet >::Result SetType
 
typedef TChooseClass< bConst, constElementType, ElementType >::Result ItElementType
 

Detailed Description

template<typename InElementType, typename KeyFuncs, typename Allocator>
template<bool bConst>
class TSet< InElementType, KeyFuncs, Allocator >::TBaseKeyIterator< bConst >

The base type of whole set iterators.

Definition at line 1038 of file Set.h.

Member Typedef Documentation

◆ ItElementType

template<typename InElementType , typename KeyFuncs , typename Allocator >
template<bool bConst>
typedef TChooseClass<bConst,constElementType,ElementType>::Result TSet< InElementType, KeyFuncs, Allocator >::TBaseKeyIterator< bConst >::ItElementType
private

Definition at line 1042 of file Set.h.

◆ SetType

template<typename InElementType , typename KeyFuncs , typename Allocator >
template<bool bConst>
typedef TChooseClass<bConst,constTSet,TSet>::Result TSet< InElementType, KeyFuncs, Allocator >::TBaseKeyIterator< bConst >::SetType
private

Definition at line 1041 of file Set.h.

Constructor & Destructor Documentation

◆ TBaseKeyIterator()

template<typename InElementType , typename KeyFuncs , typename Allocator >
template<bool bConst>
FORCEINLINE TSet< InElementType, KeyFuncs, Allocator >::TBaseKeyIterator< bConst >::TBaseKeyIterator ( SetType & InSet,
KeyInitType InKey )
inline

Initialization constructor.

Definition at line 1046 of file Set.h.

Member Function Documentation

◆ operator bool()

template<typename InElementType , typename KeyFuncs , typename Allocator >
template<bool bConst>
FORCEINLINE TSet< InElementType, KeyFuncs, Allocator >::TBaseKeyIterator< bConst >::operator bool ( ) const
inlineexplicit

conversion to "bool" returning true if the iterator is valid.

Definition at line 1081 of file Set.h.

◆ operator!()

template<typename InElementType , typename KeyFuncs , typename Allocator >
template<bool bConst>
FORCEINLINE bool TSet< InElementType, KeyFuncs, Allocator >::TBaseKeyIterator< bConst >::operator! ( ) const
inline

inverse of the "bool" operator

Definition at line 1086 of file Set.h.

◆ operator*()

template<typename InElementType , typename KeyFuncs , typename Allocator >
template<bool bConst>
FORCEINLINE ItElementType & TSet< InElementType, KeyFuncs, Allocator >::TBaseKeyIterator< bConst >::operator* ( ) const
inline

Definition at line 1096 of file Set.h.

◆ operator++()

template<typename InElementType , typename KeyFuncs , typename Allocator >
template<bool bConst>
FORCEINLINE TBaseKeyIterator & TSet< InElementType, KeyFuncs, Allocator >::TBaseKeyIterator< bConst >::operator++ ( )
inline

Advances the iterator to the next element.

Definition at line 1061 of file Set.h.

◆ operator->()

template<typename InElementType , typename KeyFuncs , typename Allocator >
template<bool bConst>
FORCEINLINE ItElementType * TSet< InElementType, KeyFuncs, Allocator >::TBaseKeyIterator< bConst >::operator-> ( ) const
inline

Definition at line 1092 of file Set.h.

Member Data Documentation

◆ Id

template<typename InElementType , typename KeyFuncs , typename Allocator >
template<bool bConst>
FSetElementId TSet< InElementType, KeyFuncs, Allocator >::TBaseKeyIterator< bConst >::Id
protected

Definition at line 1104 of file Set.h.

◆ Key

template<typename InElementType , typename KeyFuncs , typename Allocator >
template<bool bConst>
TTypeTraits<typenameKeyFuncs::KeyType>::ConstPointerType TSet< InElementType, KeyFuncs, Allocator >::TBaseKeyIterator< bConst >::Key
protected

Definition at line 1103 of file Set.h.

◆ NextId

template<typename InElementType , typename KeyFuncs , typename Allocator >
template<bool bConst>
FSetElementId TSet< InElementType, KeyFuncs, Allocator >::TBaseKeyIterator< bConst >::NextId
protected

Definition at line 1105 of file Set.h.

◆ Set

template<typename InElementType , typename KeyFuncs , typename Allocator >
template<bool bConst>
SetType& TSet< InElementType, KeyFuncs, Allocator >::TBaseKeyIterator< bConst >::Set
protected

Definition at line 1102 of file Set.h.


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