HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GA_ListTypeRef< FromType, ToType, INT_TYPE >::base_iterator< LIST_T > Class Template Reference

#include <GA_OffsetList.h>

Public Types

using iterator_category = std::random_access_iterator_tag
 
using value_type = ToType
 
using difference_type = FromType
 
using pointer = ToType *
 
using reference = ToType
 

Public Member Functions

 base_iterator ()
 
template<typename EIT >
 base_iterator (const base_iterator< EIT > &src)
 
reference operator* () const
 
reference item () const
 
reference operator[] (FromType n) const
 
base_iteratoroperator++ ()
 
base_iterator operator++ (int)
 
base_iteratoroperator-- ()
 
base_iterator operator-- (int)
 
base_iteratoroperator+= (FromType n)
 
base_iterator operator+ (FromType n) const
 
base_iteratoroperator-= (FromType n)
 
base_iterator operator- (FromType n) const
 
template<typename LT >
bool operator== (const base_iterator< LT > &r) const
 
template<typename LT >
bool operator!= (const base_iterator< LT > &r) const
 
template<typename LT >
FromType operator- (const base_iterator< LT > &r) const
 

Protected Member Functions

 base_iterator (LIST_T *list, FromType c)
 

Friends

class GA_ListTypeRef< FromType, ToType, INT_TYPE >
 

Detailed Description

template<typename FromType, typename ToType, typename INT_TYPE = exint>
template<typename LIST_T>
class GA_ListTypeRef< FromType, ToType, INT_TYPE >::base_iterator< LIST_T >

Note
It's likely more efficient to use forEach() than iterators

Definition at line 825 of file GA_OffsetList.h.

Member Typedef Documentation

template<typename FromType, typename ToType, typename INT_TYPE = exint>
template<typename LIST_T>
using GA_ListTypeRef< FromType, ToType, INT_TYPE >::base_iterator< LIST_T >::difference_type = FromType

Definition at line 830 of file GA_OffsetList.h.

template<typename FromType, typename ToType, typename INT_TYPE = exint>
template<typename LIST_T>
using GA_ListTypeRef< FromType, ToType, INT_TYPE >::base_iterator< LIST_T >::iterator_category = std::random_access_iterator_tag

Definition at line 828 of file GA_OffsetList.h.

template<typename FromType, typename ToType, typename INT_TYPE = exint>
template<typename LIST_T>
using GA_ListTypeRef< FromType, ToType, INT_TYPE >::base_iterator< LIST_T >::pointer = ToType*

Definition at line 831 of file GA_OffsetList.h.

template<typename FromType, typename ToType, typename INT_TYPE = exint>
template<typename LIST_T>
using GA_ListTypeRef< FromType, ToType, INT_TYPE >::base_iterator< LIST_T >::reference = ToType

Definition at line 832 of file GA_OffsetList.h.

template<typename FromType, typename ToType, typename INT_TYPE = exint>
template<typename LIST_T>
using GA_ListTypeRef< FromType, ToType, INT_TYPE >::base_iterator< LIST_T >::value_type = ToType

Definition at line 829 of file GA_OffsetList.h.

Constructor & Destructor Documentation

template<typename FromType, typename ToType, typename INT_TYPE = exint>
template<typename LIST_T>
GA_ListTypeRef< FromType, ToType, INT_TYPE >::base_iterator< LIST_T >::base_iterator ( )
inline

Definition at line 834 of file GA_OffsetList.h.

template<typename FromType, typename ToType, typename INT_TYPE = exint>
template<typename LIST_T>
template<typename EIT >
GA_ListTypeRef< FromType, ToType, INT_TYPE >::base_iterator< LIST_T >::base_iterator ( const base_iterator< EIT > &  src)
inline

Definition at line 841 of file GA_OffsetList.h.

template<typename FromType, typename ToType, typename INT_TYPE = exint>
template<typename LIST_T>
GA_ListTypeRef< FromType, ToType, INT_TYPE >::base_iterator< LIST_T >::base_iterator ( LIST_T *  list,
FromType  c 
)
inlineprotected

Definition at line 915 of file GA_OffsetList.h.

Member Function Documentation

template<typename FromType, typename ToType, typename INT_TYPE = exint>
template<typename LIST_T>
reference GA_ListTypeRef< FromType, ToType, INT_TYPE >::base_iterator< LIST_T >::item ( ) const
inline

Definition at line 850 of file GA_OffsetList.h.

template<typename FromType, typename ToType, typename INT_TYPE = exint>
template<typename LIST_T>
template<typename LT >
bool GA_ListTypeRef< FromType, ToType, INT_TYPE >::base_iterator< LIST_T >::operator!= ( const base_iterator< LT > &  r) const
inline

Definition at line 897 of file GA_OffsetList.h.

template<typename FromType, typename ToType, typename INT_TYPE = exint>
template<typename LIST_T>
reference GA_ListTypeRef< FromType, ToType, INT_TYPE >::base_iterator< LIST_T >::operator* ( ) const
inline

Definition at line 846 of file GA_OffsetList.h.

template<typename FromType, typename ToType, typename INT_TYPE = exint>
template<typename LIST_T>
base_iterator GA_ListTypeRef< FromType, ToType, INT_TYPE >::base_iterator< LIST_T >::operator+ ( FromType  n) const
inline

Definition at line 885 of file GA_OffsetList.h.

template<typename FromType, typename ToType, typename INT_TYPE = exint>
template<typename LIST_T>
base_iterator& GA_ListTypeRef< FromType, ToType, INT_TYPE >::base_iterator< LIST_T >::operator++ ( )
inline

Definition at line 858 of file GA_OffsetList.h.

template<typename FromType, typename ToType, typename INT_TYPE = exint>
template<typename LIST_T>
base_iterator GA_ListTypeRef< FromType, ToType, INT_TYPE >::base_iterator< LIST_T >::operator++ ( int  )
inline

Definition at line 863 of file GA_OffsetList.h.

template<typename FromType, typename ToType, typename INT_TYPE = exint>
template<typename LIST_T>
base_iterator& GA_ListTypeRef< FromType, ToType, INT_TYPE >::base_iterator< LIST_T >::operator+= ( FromType  n)
inline

Definition at line 880 of file GA_OffsetList.h.

template<typename FromType, typename ToType, typename INT_TYPE = exint>
template<typename LIST_T>
base_iterator GA_ListTypeRef< FromType, ToType, INT_TYPE >::base_iterator< LIST_T >::operator- ( FromType  n) const
inline

Definition at line 891 of file GA_OffsetList.h.

template<typename FromType, typename ToType, typename INT_TYPE = exint>
template<typename LIST_T>
template<typename LT >
FromType GA_ListTypeRef< FromType, ToType, INT_TYPE >::base_iterator< LIST_T >::operator- ( const base_iterator< LT > &  r) const
inline

Definition at line 911 of file GA_OffsetList.h.

template<typename FromType, typename ToType, typename INT_TYPE = exint>
template<typename LIST_T>
base_iterator& GA_ListTypeRef< FromType, ToType, INT_TYPE >::base_iterator< LIST_T >::operator-- ( )
inline

Definition at line 869 of file GA_OffsetList.h.

template<typename FromType, typename ToType, typename INT_TYPE = exint>
template<typename LIST_T>
base_iterator GA_ListTypeRef< FromType, ToType, INT_TYPE >::base_iterator< LIST_T >::operator-- ( int  )
inline

Definition at line 874 of file GA_OffsetList.h.

template<typename FromType, typename ToType, typename INT_TYPE = exint>
template<typename LIST_T>
base_iterator& GA_ListTypeRef< FromType, ToType, INT_TYPE >::base_iterator< LIST_T >::operator-= ( FromType  n)
inline

Definition at line 889 of file GA_OffsetList.h.

template<typename FromType, typename ToType, typename INT_TYPE = exint>
template<typename LIST_T>
template<typename LT >
bool GA_ListTypeRef< FromType, ToType, INT_TYPE >::base_iterator< LIST_T >::operator== ( const base_iterator< LT > &  r) const
inline

Definition at line 894 of file GA_OffsetList.h.

template<typename FromType, typename ToType, typename INT_TYPE = exint>
template<typename LIST_T>
reference GA_ListTypeRef< FromType, ToType, INT_TYPE >::base_iterator< LIST_T >::operator[] ( FromType  n) const
inline

Definition at line 854 of file GA_OffsetList.h.

Friends And Related Function Documentation

template<typename FromType, typename ToType, typename INT_TYPE = exint>
template<typename LIST_T>
friend class GA_ListTypeRef< FromType, ToType, INT_TYPE >
friend

Definition at line 914 of file GA_OffsetList.h.


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