Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
Public Types | Public Member Functions | Data Fields
RandomAccessIter< T > Struct Template Reference

#include <rw_alg_test.h>

Inheritance diagram for RandomAccessIter< T >:
Inheritance graph
[legend]
Collaboration diagram for RandomAccessIter< T >:
Collaboration graph
[legend]

Public Types

typedef T value_type
 
typedef value_type * pointer
 
typedef value_type & reference
 
typedef _RWSTD_PTRDIFF_T difference_type
 
typedef std::random_access_iterator_tag iterator_category
 

Public Member Functions

 RandomAccessIter ()
 
 RandomAccessIter (pointer cur, const value_type *begin, const value_type *end)
 
 RandomAccessIter (const RandomAccessIter &rhs)
 
 ~RandomAccessIter ()
 
RandomAccessIter & operator= (const RandomAccessIter &rhs)
 
reference operator* () const
 
 _RWSTD_OPERATOR_ARROW (pointer operator->() const)
 
RandomAccessIter & operator++ ()
 
RandomAccessIter operator++ (int)
 
RandomAccessIter & operator-- ()
 
RandomAccessIter operator-- (int)
 
RandomAccessIter & operator+= (difference_type n)
 
RandomAccessIter & operator-= (difference_type n)
 
RandomAccessIter operator+ (difference_type n) const
 
RandomAccessIter operator- (difference_type n) const
 
difference_type operator- (const RandomAccessIter &rhs) const
 
bool operator== (const RandomAccessIter &rhs) const
 
bool operator!= (const RandomAccessIter &rhs) const
 
bool operator< (const RandomAccessIter &rhs) const
 
bool operator> (const RandomAccessIter &rhs) const
 
bool operator<= (const RandomAccessIter &rhs) const
 
bool operator>= (const RandomAccessIter &rhs) const
 
reference operator[] (difference_type inx) const
 

Data Fields

pointer cur_
 
const value_type * begin_
 
const value_type * end_
 

Detailed Description

template<class T>
struct RandomAccessIter< T >

Definition at line 867 of file rw_alg_test.h.

Member Typedef Documentation

◆ difference_type

template<class T >
typedef _RWSTD_PTRDIFF_T RandomAccessIter< T >::difference_type

Definition at line 873 of file rw_alg_test.h.

◆ iterator_category

template<class T >
typedef std::random_access_iterator_tag RandomAccessIter< T >::iterator_category

Definition at line 874 of file rw_alg_test.h.

◆ pointer

template<class T >
typedef value_type* RandomAccessIter< T >::pointer

Definition at line 871 of file rw_alg_test.h.

◆ reference

template<class T >
typedef value_type& RandomAccessIter< T >::reference

Definition at line 872 of file rw_alg_test.h.

◆ value_type

template<class T >
typedef T RandomAccessIter< T >::value_type

Definition at line 870 of file rw_alg_test.h.

Constructor & Destructor Documentation

◆ RandomAccessIter() [1/3]

template<class T >
RandomAccessIter< T >::RandomAccessIter ( )
inline

Definition at line 876 of file rw_alg_test.h.

◆ RandomAccessIter() [2/3]

template<class T >
RandomAccessIter< T >::RandomAccessIter ( pointer  cur,
const value_type *  begin,
const value_type *  end 
)
inline

Definition at line 878 of file rw_alg_test.h.

◆ RandomAccessIter() [3/3]

template<class T >
RandomAccessIter< T >::RandomAccessIter ( const RandomAccessIter< T > &  rhs)
inline

Definition at line 883 of file rw_alg_test.h.

◆ ~RandomAccessIter()

template<class T >
RandomAccessIter< T >::~RandomAccessIter ( )
inline

Definition at line 886 of file rw_alg_test.h.

Member Function Documentation

◆ _RWSTD_OPERATOR_ARROW()

template<class T >
RandomAccessIter< T >::_RWSTD_OPERATOR_ARROW ( pointer operator->() const  )

◆ operator!=()

template<class T >
bool RandomAccessIter< T >::operator!= ( const RandomAccessIter< T > &  rhs) const
inline

Definition at line 952 of file rw_alg_test.h.

◆ operator*()

template<class T >
reference RandomAccessIter< T >::operator* ( ) const
inline

Definition at line 897 of file rw_alg_test.h.

◆ operator+()

template<class T >
RandomAccessIter RandomAccessIter< T >::operator+ ( difference_type  n) const
inline

Definition at line 934 of file rw_alg_test.h.

◆ operator++() [1/2]

template<class T >
RandomAccessIter & RandomAccessIter< T >::operator++ ( )
inline

Definition at line 904 of file rw_alg_test.h.

◆ operator++() [2/2]

template<class T >
RandomAccessIter RandomAccessIter< T >::operator++ ( int  )
inline

Definition at line 909 of file rw_alg_test.h.

◆ operator+=()

template<class T >
RandomAccessIter & RandomAccessIter< T >::operator+= ( difference_type  n)
inline

Definition at line 924 of file rw_alg_test.h.

◆ operator-() [1/2]

template<class T >
difference_type RandomAccessIter< T >::operator- ( const RandomAccessIter< T > &  rhs) const
inline

Definition at line 942 of file rw_alg_test.h.

◆ operator-() [2/2]

template<class T >
RandomAccessIter RandomAccessIter< T >::operator- ( difference_type  n) const
inline

Definition at line 938 of file rw_alg_test.h.

◆ operator--() [1/2]

template<class T >
RandomAccessIter & RandomAccessIter< T >::operator-- ( )
inline

Definition at line 914 of file rw_alg_test.h.

◆ operator--() [2/2]

template<class T >
RandomAccessIter RandomAccessIter< T >::operator-- ( int  )
inline

Definition at line 919 of file rw_alg_test.h.

◆ operator-=()

template<class T >
RandomAccessIter & RandomAccessIter< T >::operator-= ( difference_type  n)
inline

Definition at line 930 of file rw_alg_test.h.

◆ operator<()

template<class T >
bool RandomAccessIter< T >::operator< ( const RandomAccessIter< T > &  rhs) const
inline

Definition at line 956 of file rw_alg_test.h.

◆ operator<=()

template<class T >
bool RandomAccessIter< T >::operator<= ( const RandomAccessIter< T > &  rhs) const
inline

Definition at line 965 of file rw_alg_test.h.

◆ operator=()

template<class T >
RandomAccessIter & RandomAccessIter< T >::operator= ( const RandomAccessIter< T > &  rhs)
inline

Definition at line 890 of file rw_alg_test.h.

◆ operator==()

template<class T >
bool RandomAccessIter< T >::operator== ( const RandomAccessIter< T > &  rhs) const
inline

Definition at line 947 of file rw_alg_test.h.

◆ operator>()

template<class T >
bool RandomAccessIter< T >::operator> ( const RandomAccessIter< T > &  rhs) const
inline

Definition at line 961 of file rw_alg_test.h.

◆ operator>=()

template<class T >
bool RandomAccessIter< T >::operator>= ( const RandomAccessIter< T > &  rhs) const
inline

Definition at line 969 of file rw_alg_test.h.

◆ operator[]()

template<class T >
reference RandomAccessIter< T >::operator[] ( difference_type  inx) const
inline

Definition at line 973 of file rw_alg_test.h.

Field Documentation

◆ begin_

template<class T >
const value_type* RandomAccessIter< T >::begin_

Definition at line 982 of file rw_alg_test.h.

◆ cur_

template<class T >
pointer RandomAccessIter< T >::cur_

Definition at line 981 of file rw_alg_test.h.

◆ end_

template<class T >
const value_type* RandomAccessIter< T >::end_

Definition at line 983 of file rw_alg_test.h.


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