Ark Server API (ASE) - Wiki
Loading...
Searching...
No Matches
TCheckedPointerIterator< ElementType > Struct Template Reference

#include <TArray.h>

Public Member Functions

 TCheckedPointerIterator (const int32 &InNum, ElementType *InPtr)
 
FORCEINLINE ElementType & operator* () const
 
FORCEINLINE TCheckedPointerIteratoroperator++ ()
 
FORCEINLINE TCheckedPointerIteratoroperator-- ()
 

Private Attributes

ElementType * Ptr
 
const int32CurrentNum
 
int32 InitialNum
 

Friends

FORCEINLINE friend bool operator!= (const TCheckedPointerIterator &Lhs, const TCheckedPointerIterator &Rhs)
 

Detailed Description

template<typename ElementType>
struct TCheckedPointerIterator< ElementType >

Pointer-like iterator type for ranged-for loops which checks that the container hasn't been resized during iteration.

Definition at line 153 of file TArray.h.

Constructor & Destructor Documentation

◆ TCheckedPointerIterator()

template<typename ElementType >
TCheckedPointerIterator< ElementType >::TCheckedPointerIterator ( const int32 & InNum,
ElementType * InPtr )
inlineexplicit

Definition at line 160 of file TArray.h.

Member Function Documentation

◆ operator*()

template<typename ElementType >
FORCEINLINE ElementType & TCheckedPointerIterator< ElementType >::operator* ( ) const
inline

Definition at line 167 of file TArray.h.

◆ operator++()

template<typename ElementType >
FORCEINLINE TCheckedPointerIterator & TCheckedPointerIterator< ElementType >::operator++ ( )
inline

Definition at line 172 of file TArray.h.

◆ operator--()

template<typename ElementType >
FORCEINLINE TCheckedPointerIterator & TCheckedPointerIterator< ElementType >::operator-- ( )
inline

Definition at line 178 of file TArray.h.

Friends And Related Symbol Documentation

◆ operator!=

template<typename ElementType >
FORCEINLINE friend bool operator!= ( const TCheckedPointerIterator< ElementType > & Lhs,
const TCheckedPointerIterator< ElementType > & Rhs )
friend

Definition at line 189 of file TArray.h.

Member Data Documentation

◆ CurrentNum

template<typename ElementType >
const int32& TCheckedPointerIterator< ElementType >::CurrentNum
private

Definition at line 186 of file TArray.h.

◆ InitialNum

template<typename ElementType >
int32 TCheckedPointerIterator< ElementType >::InitialNum
private

Definition at line 187 of file TArray.h.

◆ Ptr

template<typename ElementType >
ElementType* TCheckedPointerIterator< ElementType >::Ptr
private

Definition at line 185 of file TArray.h.


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