Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
TEnumerateRef< ElementType, SizeType > Struct Template Reference

#include <EnumerateRange.h>

Public Member Functions

 TEnumerateRef (ElementType &InRef, SizeType InIndex)
 
SizeType GetIndex () const
 
ElementType & operator* () const
 
ElementType * operator-> () const
 
 operator TEnumerateRef< const ElementType > () const
 

Private Attributes

ElementType & Ref
 
SizeType Index
 

Detailed Description

template<typename ElementType, typename SizeType = int32>
struct TEnumerateRef< ElementType, SizeType >

Definition at line 11 of file EnumerateRange.h.

Constructor & Destructor Documentation

◆ TEnumerateRef()

template<typename ElementType , typename SizeType = int32>
TEnumerateRef< ElementType, SizeType >::TEnumerateRef ( ElementType & InRef,
SizeType InIndex )
inline

Definition at line 13 of file EnumerateRange.h.

Member Function Documentation

◆ GetIndex()

template<typename ElementType , typename SizeType = int32>
SizeType TEnumerateRef< ElementType, SizeType >::GetIndex ( ) const
inline

Definition at line 19 of file EnumerateRange.h.

◆ operator TEnumerateRef< const ElementType >()

template<typename ElementType , typename SizeType = int32>
TEnumerateRef< ElementType, SizeType >::operator TEnumerateRef< const ElementType > ( ) const
inline

Definition at line 34 of file EnumerateRange.h.

◆ operator*()

template<typename ElementType , typename SizeType = int32>
ElementType & TEnumerateRef< ElementType, SizeType >::operator* ( ) const
inline

Definition at line 24 of file EnumerateRange.h.

◆ operator->()

template<typename ElementType , typename SizeType = int32>
ElementType * TEnumerateRef< ElementType, SizeType >::operator-> ( ) const
inline

Definition at line 29 of file EnumerateRange.h.

Member Data Documentation

◆ Index

template<typename ElementType , typename SizeType = int32>
SizeType TEnumerateRef< ElementType, SizeType >::Index
private

Definition at line 41 of file EnumerateRange.h.

◆ Ref

template<typename ElementType , typename SizeType = int32>
ElementType& TEnumerateRef< ElementType, SizeType >::Ref
private

Definition at line 40 of file EnumerateRange.h.


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