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

Public Types

typedef TChooseClass< bConst, typenameTChooseClass< bRangedFor, typenameElementArrayType::TRangedForConstIterator, typenameElementArrayType::TConstIterator >::Result, typenameTChooseClass< bRangedFor, typenameElementArrayType::TRangedForIterator, typenameElementArrayType::TIterator >::Result >::Result ElementItType
 

Public Member Functions

FORCEINLINE TBaseIterator (const ElementItType &InElementIt)
 
FORCEINLINE TBaseIteratoroperator++ ()
 
FORCEINLINE operator bool () const
 
FORCEINLINE bool operator! () const
 
FORCEINLINE FSetElementId GetId () const
 
FORCEINLINE ItElementTypeoperator-> () const
 
FORCEINLINE ItElementTypeoperator* () const
 

Public Attributes

ElementItType ElementIt
 

Private Types

typedef TChooseClass< bConst, constElementType, ElementType >::Result ItElementType
 

Friends

class TSet
 
FORCEINLINE friend bool operator== (const TBaseIterator &Lhs, const TBaseIterator &Rhs)
 
FORCEINLINE friend bool operator!= (const TBaseIterator &Lhs, const TBaseIterator &Rhs)
 

Detailed Description

template<typename InElementType, typename KeyFuncs, typename Allocator>
template<bool bConst, bool bRangedFor = false>
class TSet< InElementType, KeyFuncs, Allocator >::TBaseIterator< bConst, bRangedFor >

The base type of whole set iterators.

Definition at line 979 of file Set.h.

Member Typedef Documentation

◆ ElementItType

template<typename InElementType , typename KeyFuncs , typename Allocator >
template<bool bConst, bool bRangedFor = false>
typedef TChooseClass<bConst,typenameTChooseClass<bRangedFor,typenameElementArrayType::TRangedForConstIterator,typenameElementArrayType::TConstIterator>::Result,typenameTChooseClass<bRangedFor,typenameElementArrayType::TRangedForIterator,typenameElementArrayType::TIterator>::Result>::Result TSet< InElementType, KeyFuncs, Allocator >::TBaseIterator< bConst, bRangedFor >::ElementItType

Definition at line 991 of file Set.h.

◆ ItElementType

template<typename InElementType , typename KeyFuncs , typename Allocator >
template<bool bConst, bool bRangedFor = false>
typedef TChooseClass<bConst,constElementType,ElementType>::Result TSet< InElementType, KeyFuncs, Allocator >::TBaseIterator< bConst, bRangedFor >::ItElementType
private

Definition at line 984 of file Set.h.

Constructor & Destructor Documentation

◆ TBaseIterator()

template<typename InElementType , typename KeyFuncs , typename Allocator >
template<bool bConst, bool bRangedFor = false>
FORCEINLINE TSet< InElementType, KeyFuncs, Allocator >::TBaseIterator< bConst, bRangedFor >::TBaseIterator ( const ElementItType & InElementIt)
inline

Definition at line 993 of file Set.h.

Member Function Documentation

◆ GetId()

template<typename InElementType , typename KeyFuncs , typename Allocator >
template<bool bConst, bool bRangedFor = false>
FORCEINLINE FSetElementId TSet< InElementType, KeyFuncs, Allocator >::TBaseIterator< bConst, bRangedFor >::GetId ( ) const
inline

Definition at line 1017 of file Set.h.

◆ operator bool()

template<typename InElementType , typename KeyFuncs , typename Allocator >
template<bool bConst, bool bRangedFor = false>
FORCEINLINE TSet< InElementType, KeyFuncs, Allocator >::TBaseIterator< bConst, bRangedFor >::operator bool ( ) const
inlineexplicit

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

Definition at line 1006 of file Set.h.

◆ operator!()

template<typename InElementType , typename KeyFuncs , typename Allocator >
template<bool bConst, bool bRangedFor = false>
FORCEINLINE bool TSet< InElementType, KeyFuncs, Allocator >::TBaseIterator< bConst, bRangedFor >::operator! ( ) const
inline

inverse of the "bool" operator

Definition at line 1011 of file Set.h.

◆ operator*()

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

Definition at line 1025 of file Set.h.

◆ operator++()

template<typename InElementType , typename KeyFuncs , typename Allocator >
template<bool bConst, bool bRangedFor = false>
FORCEINLINE TBaseIterator & TSet< InElementType, KeyFuncs, Allocator >::TBaseIterator< bConst, bRangedFor >::operator++ ( )
inline

Advances the iterator to the next element.

Definition at line 999 of file Set.h.

◆ operator->()

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

Definition at line 1021 of file Set.h.

Friends And Related Symbol Documentation

◆ operator!=

template<typename InElementType , typename KeyFuncs , typename Allocator >
template<bool bConst, bool bRangedFor = false>
FORCEINLINE friend bool operator!= ( const TBaseIterator< bConst, bRangedFor > & Lhs,
const TBaseIterator< bConst, bRangedFor > & Rhs )
friend

Definition at line 1031 of file Set.h.

◆ operator==

template<typename InElementType , typename KeyFuncs , typename Allocator >
template<bool bConst, bool bRangedFor = false>
FORCEINLINE friend bool operator== ( const TBaseIterator< bConst, bRangedFor > & Lhs,
const TBaseIterator< bConst, bRangedFor > & Rhs )
friend

Definition at line 1030 of file Set.h.

◆ TSet

template<typename InElementType , typename KeyFuncs , typename Allocator >
template<bool bConst, bool bRangedFor = false>
friend class TSet
friend

Definition at line 982 of file Set.h.

Member Data Documentation

◆ ElementIt

template<typename InElementType , typename KeyFuncs , typename Allocator >
template<bool bConst, bool bRangedFor = false>
ElementItType TSet< InElementType, KeyFuncs, Allocator >::TBaseIterator< bConst, bRangedFor >::ElementIt

Definition at line 1033 of file Set.h.


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