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

#include <UT_Array.h>

Public Types

using iterator_category = std::random_access_iterator_tag
 
using value_type = T
 
using difference_type = exint
 
using pointer = IT *
 
using reference = IT &
 

Public Member Functions

 base_iterator ()
 
template<typename EIT >
 base_iterator (const base_iterator< EIT, FORWARD > &src)
 
pointer operator-> () const
 
reference operator* () const
 
reference item () const
 
reference operator[] (exint n) const
 
base_iteratoroperator++ ()
 Pre-increment operator. More...
 
base_iterator operator++ (int)
 Post-increment operator. More...
 
base_iteratoroperator-- ()
 Pre-decrement operator. More...
 
base_iterator operator-- (int)
 Post-decrement operator. More...
 
base_iteratoroperator+= (exint n)
 
base_iterator operator+ (exint n) const
 
base_iteratoroperator-= (exint n)
 
base_iterator operator- (exint n) const
 
bool atEnd () const
 
void advance ()
 
template<typename ITR , bool FR>
bool operator== (const base_iterator< ITR, FR > &r) const
 
template<typename ITR , bool FR>
bool operator!= (const base_iterator< ITR, FR > &r) const
 
template<typename ITR >
bool operator< (const base_iterator< ITR, FORWARD > &r) const
 
template<typename ITR >
bool operator> (const base_iterator< ITR, FORWARD > &r) const
 
template<typename ITR >
bool operator<= (const base_iterator< ITR, FORWARD > &r) const
 
template<typename ITR >
bool operator>= (const base_iterator< ITR, FORWARD > &r) const
 
template<typename ITR >
exint operator- (const base_iterator< ITR, FORWARD > &r) const
 

Protected Member Functions

 base_iterator (IT *c, IT *e)
 

Friends

class UT_Array< T >
 

Detailed Description

template<class T>
template<typename IT, bool FORWARD>
class UT_Array< T >::base_iterator< IT, FORWARD >

Definition at line 851 of file UT_Array.h.

Member Typedef Documentation

template<class T>
template<typename IT, bool FORWARD>
using UT_Array< T >::base_iterator< IT, FORWARD >::difference_type = exint

Definition at line 856 of file UT_Array.h.

template<class T>
template<typename IT, bool FORWARD>
using UT_Array< T >::base_iterator< IT, FORWARD >::iterator_category = std::random_access_iterator_tag

Definition at line 854 of file UT_Array.h.

template<class T>
template<typename IT, bool FORWARD>
using UT_Array< T >::base_iterator< IT, FORWARD >::pointer = IT*

Definition at line 857 of file UT_Array.h.

template<class T>
template<typename IT, bool FORWARD>
using UT_Array< T >::base_iterator< IT, FORWARD >::reference = IT&

Definition at line 858 of file UT_Array.h.

template<class T>
template<typename IT, bool FORWARD>
using UT_Array< T >::base_iterator< IT, FORWARD >::value_type = T

Definition at line 855 of file UT_Array.h.

Constructor & Destructor Documentation

template<class T>
template<typename IT, bool FORWARD>
UT_Array< T >::base_iterator< IT, FORWARD >::base_iterator ( )
inline

Definition at line 863 of file UT_Array.h.

template<class T>
template<typename IT, bool FORWARD>
template<typename EIT >
UT_Array< T >::base_iterator< IT, FORWARD >::base_iterator ( const base_iterator< EIT, FORWARD > &  src)
inline

Definition at line 867 of file UT_Array.h.

template<class T>
template<typename IT, bool FORWARD>
UT_Array< T >::base_iterator< IT, FORWARD >::base_iterator ( IT *  c,
IT *  e 
)
inlineprotected

Definition at line 991 of file UT_Array.h.

Member Function Documentation

template<class T>
template<typename IT, bool FORWARD>
void UT_Array< T >::base_iterator< IT, FORWARD >::advance ( )
inline

Definition at line 931 of file UT_Array.h.

template<class T>
template<typename IT, bool FORWARD>
bool UT_Array< T >::base_iterator< IT, FORWARD >::atEnd ( ) const
inline

Definition at line 930 of file UT_Array.h.

template<class T>
template<typename IT, bool FORWARD>
reference UT_Array< T >::base_iterator< IT, FORWARD >::item ( ) const
inline

Definition at line 876 of file UT_Array.h.

template<class T>
template<typename IT, bool FORWARD>
template<typename ITR , bool FR>
bool UT_Array< T >::base_iterator< IT, FORWARD >::operator!= ( const base_iterator< ITR, FR > &  r) const
inline

Definition at line 939 of file UT_Array.h.

template<class T>
template<typename IT, bool FORWARD>
reference UT_Array< T >::base_iterator< IT, FORWARD >::operator* ( ) const
inline

Definition at line 873 of file UT_Array.h.

template<class T>
template<typename IT, bool FORWARD>
base_iterator UT_Array< T >::base_iterator< IT, FORWARD >::operator+ ( exint  n) const
inline

Definition at line 917 of file UT_Array.h.

template<class T>
template<typename IT, bool FORWARD>
base_iterator& UT_Array< T >::base_iterator< IT, FORWARD >::operator++ ( )
inline

Pre-increment operator.

Definition at line 883 of file UT_Array.h.

template<class T>
template<typename IT, bool FORWARD>
base_iterator UT_Array< T >::base_iterator< IT, FORWARD >::operator++ ( int  )
inline

Post-increment operator.

Definition at line 889 of file UT_Array.h.

template<class T>
template<typename IT, bool FORWARD>
base_iterator& UT_Array< T >::base_iterator< IT, FORWARD >::operator+= ( exint  n)
inline

Definition at line 909 of file UT_Array.h.

template<class T>
template<typename IT, bool FORWARD>
base_iterator UT_Array< T >::base_iterator< IT, FORWARD >::operator- ( exint  n) const
inline

Definition at line 927 of file UT_Array.h.

template<class T>
template<typename IT, bool FORWARD>
template<typename ITR >
exint UT_Array< T >::base_iterator< IT, FORWARD >::operator- ( const base_iterator< ITR, FORWARD > &  r) const
inline

Definition at line 980 of file UT_Array.h.

template<class T>
template<typename IT, bool FORWARD>
base_iterator& UT_Array< T >::base_iterator< IT, FORWARD >::operator-- ( )
inline

Pre-decrement operator.

Definition at line 896 of file UT_Array.h.

template<class T>
template<typename IT, bool FORWARD>
base_iterator UT_Array< T >::base_iterator< IT, FORWARD >::operator-- ( int  )
inline

Post-decrement operator.

Definition at line 902 of file UT_Array.h.

template<class T>
template<typename IT, bool FORWARD>
base_iterator& UT_Array< T >::base_iterator< IT, FORWARD >::operator-= ( exint  n)
inline

Definition at line 925 of file UT_Array.h.

template<class T>
template<typename IT, bool FORWARD>
pointer UT_Array< T >::base_iterator< IT, FORWARD >::operator-> ( ) const
inline

Definition at line 870 of file UT_Array.h.

template<class T>
template<typename IT, bool FORWARD>
template<typename ITR >
bool UT_Array< T >::base_iterator< IT, FORWARD >::operator< ( const base_iterator< ITR, FORWARD > &  r) const
inline

Definition at line 943 of file UT_Array.h.

template<class T>
template<typename IT, bool FORWARD>
template<typename ITR >
bool UT_Array< T >::base_iterator< IT, FORWARD >::operator<= ( const base_iterator< ITR, FORWARD > &  r) const
inline

Definition at line 961 of file UT_Array.h.

template<class T>
template<typename IT, bool FORWARD>
template<typename ITR , bool FR>
bool UT_Array< T >::base_iterator< IT, FORWARD >::operator== ( const base_iterator< ITR, FR > &  r) const
inline

Definition at line 935 of file UT_Array.h.

template<class T>
template<typename IT, bool FORWARD>
template<typename ITR >
bool UT_Array< T >::base_iterator< IT, FORWARD >::operator> ( const base_iterator< ITR, FORWARD > &  r) const
inline

Definition at line 952 of file UT_Array.h.

template<class T>
template<typename IT, bool FORWARD>
template<typename ITR >
bool UT_Array< T >::base_iterator< IT, FORWARD >::operator>= ( const base_iterator< ITR, FORWARD > &  r) const
inline

Definition at line 970 of file UT_Array.h.

template<class T>
template<typename IT, bool FORWARD>
reference UT_Array< T >::base_iterator< IT, FORWARD >::operator[] ( exint  n) const
inline

Definition at line 879 of file UT_Array.h.

Friends And Related Function Documentation

template<class T>
template<typename IT, bool FORWARD>
friend class UT_Array< T >
friend

Definition at line 990 of file UT_Array.h.


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