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

#include <rw_alg_test.h>

Inheritance diagram for BidirIter< T >:
Inheritance graph
[legend]
Collaboration diagram for BidirIter< 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::bidirectional_iterator_tag iterator_category
 

Public Member Functions

 BidirIter ()
 
 BidirIter (pointer cur, const value_type *begin, const value_type *end)
 
 BidirIter (const BidirIter &rhs)
 
 ~BidirIter ()
 
BidirIter & operator= (const BidirIter &rhs)
 
bool operator== (const BidirIter &rhs) const
 
bool operator!= (const BidirIter &rhs) const
 
reference operator* () const
 
 _RWSTD_OPERATOR_ARROW (pointer operator->() const)
 
BidirIter & operator++ ()
 
BidirIter operator++ (int)
 
BidirIter & operator-- ()
 
BidirIter operator-- (int)
 

Data Fields

pointer cur_
 
const value_type * begin_
 
const value_type * end_
 

Detailed Description

template<class T>
struct BidirIter< T >

Definition at line 772 of file rw_alg_test.h.

Member Typedef Documentation

◆ difference_type

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

Definition at line 777 of file rw_alg_test.h.

◆ iterator_category

template<class T >
typedef std::bidirectional_iterator_tag BidirIter< T >::iterator_category

Definition at line 778 of file rw_alg_test.h.

◆ pointer

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

Definition at line 775 of file rw_alg_test.h.

◆ reference

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

Definition at line 776 of file rw_alg_test.h.

◆ value_type

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

Definition at line 774 of file rw_alg_test.h.

Constructor & Destructor Documentation

◆ BidirIter() [1/3]

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

Definition at line 780 of file rw_alg_test.h.

◆ BidirIter() [2/3]

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

Definition at line 782 of file rw_alg_test.h.

◆ BidirIter() [3/3]

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

Definition at line 787 of file rw_alg_test.h.

◆ ~BidirIter()

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

Definition at line 790 of file rw_alg_test.h.

Member Function Documentation

◆ _RWSTD_OPERATOR_ARROW()

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

◆ operator!=()

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

Definition at line 805 of file rw_alg_test.h.

◆ operator*()

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

Definition at line 809 of file rw_alg_test.h.

◆ operator++() [1/2]

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

Definition at line 816 of file rw_alg_test.h.

◆ operator++() [2/2]

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

Definition at line 821 of file rw_alg_test.h.

◆ operator--() [1/2]

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

Definition at line 826 of file rw_alg_test.h.

◆ operator--() [2/2]

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

Definition at line 831 of file rw_alg_test.h.

◆ operator=()

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

Definition at line 794 of file rw_alg_test.h.

◆ operator==()

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

Definition at line 800 of file rw_alg_test.h.

Field Documentation

◆ begin_

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

Definition at line 838 of file rw_alg_test.h.

◆ cur_

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

Definition at line 837 of file rw_alg_test.h.

◆ end_

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

Definition at line 839 of file rw_alg_test.h.


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