HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GA_EdgeGroup::base_iterator< T, IT > Class Template Reference

#include <GA_EdgeGroup.h>

Public Types

using iterator_category = std::bidirectional_iterator_tag
 
using value_type = T
 
using difference_type = std::ptrdiff_t
 
using pointer = T *
 
using reference = T &
 

Public Member Functions

template<typename ET , typename EIT >
 base_iterator (const base_iterator< ET, EIT > &src)
 
template<typename ET , typename EIT >
const base_iteratoroperator= (const base_iterator< ET, EIT > &src)
 Assignment operator. More...
 
bool operator== (const base_iterator &cmp) const
 
bool operator!= (const base_iterator &cmp) const
 
base_iteratoroperator++ ()
 
base_iteratoroperator-- ()
 
bool atEnd () const
 
void advance ()
 
Toperator* () const
 
Toperator-> () const
 
TgetEdge ()
 
GA_Offset getPrimitive ()
 

Friends

class GA_EdgeGroup
 

Detailed Description

template<typename T, typename IT>
class GA_EdgeGroup::base_iterator< T, IT >

Definition at line 124 of file GA_EdgeGroup.h.

Member Typedef Documentation

template<typename T, typename IT>
using GA_EdgeGroup::base_iterator< T, IT >::difference_type = std::ptrdiff_t

Definition at line 129 of file GA_EdgeGroup.h.

template<typename T, typename IT>
using GA_EdgeGroup::base_iterator< T, IT >::iterator_category = std::bidirectional_iterator_tag

Definition at line 127 of file GA_EdgeGroup.h.

template<typename T, typename IT>
using GA_EdgeGroup::base_iterator< T, IT >::pointer = T*

Definition at line 130 of file GA_EdgeGroup.h.

template<typename T, typename IT>
using GA_EdgeGroup::base_iterator< T, IT >::reference = T&

Definition at line 131 of file GA_EdgeGroup.h.

template<typename T, typename IT>
using GA_EdgeGroup::base_iterator< T, IT >::value_type = T

Definition at line 128 of file GA_EdgeGroup.h.

Constructor & Destructor Documentation

template<typename T, typename IT>
template<typename ET , typename EIT >
GA_EdgeGroup::base_iterator< T, IT >::base_iterator ( const base_iterator< ET, EIT > &  src)
inline

Copy constructor, allows constructing a const_iterator from a regular iterator.

Definition at line 136 of file GA_EdgeGroup.h.

Member Function Documentation

template<typename T, typename IT>
void GA_EdgeGroup::base_iterator< T, IT >::advance ( )
inline

Definition at line 174 of file GA_EdgeGroup.h.

template<typename T, typename IT>
bool GA_EdgeGroup::base_iterator< T, IT >::atEnd ( ) const
inline

Definition at line 171 of file GA_EdgeGroup.h.

template<typename T, typename IT>
T& GA_EdgeGroup::base_iterator< T, IT >::getEdge ( )
inline

Definition at line 181 of file GA_EdgeGroup.h.

template<typename T, typename IT>
GA_Offset GA_EdgeGroup::base_iterator< T, IT >::getPrimitive ( )
inline

Definition at line 182 of file GA_EdgeGroup.h.

template<typename T, typename IT>
bool GA_EdgeGroup::base_iterator< T, IT >::operator!= ( const base_iterator< T, IT > &  cmp) const
inline

Compare this iterator with another and return true if they point to different elements.

Definition at line 158 of file GA_EdgeGroup.h.

template<typename T, typename IT>
T& GA_EdgeGroup::base_iterator< T, IT >::operator* ( ) const
inline

Definition at line 179 of file GA_EdgeGroup.h.

template<typename T, typename IT>
base_iterator& GA_EdgeGroup::base_iterator< T, IT >::operator++ ( )
inline

Pre-increment operator. Advances the iterator to the next element in the list.

Definition at line 163 of file GA_EdgeGroup.h.

template<typename T, typename IT>
base_iterator& GA_EdgeGroup::base_iterator< T, IT >::operator-- ( )
inline

Pre-decrement operator. Moves the iterator to the previous element in the list.

Definition at line 168 of file GA_EdgeGroup.h.

template<typename T, typename IT>
T* GA_EdgeGroup::base_iterator< T, IT >::operator-> ( ) const
inline

Definition at line 180 of file GA_EdgeGroup.h.

template<typename T, typename IT>
template<typename ET , typename EIT >
const base_iterator& GA_EdgeGroup::base_iterator< T, IT >::operator= ( const base_iterator< ET, EIT > &  src)
inline

Assignment operator.

Definition at line 144 of file GA_EdgeGroup.h.

template<typename T, typename IT>
bool GA_EdgeGroup::base_iterator< T, IT >::operator== ( const base_iterator< T, IT > &  cmp) const
inline

Compare this iterator with another and return true if they both point to the same element.

Definition at line 153 of file GA_EdgeGroup.h.

Friends And Related Function Documentation

template<typename T, typename IT>
friend class GA_EdgeGroup
friend

Definition at line 185 of file GA_EdgeGroup.h.


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