DeSiGNAR  0.5a
Data Structures General Library
Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
Designar::ArrayIterator< Derived, ArrayType, T, RET_CPY > Class Template Reference

#include <array.H>

Inheritance diagram for Designar::ArrayIterator< Derived, ArrayType, T, RET_CPY >:
Inheritance graph
[legend]
Collaboration diagram for Designar::ArrayIterator< Derived, ArrayType, T, RET_CPY >:
Collaboration graph
[legend]

Public Member Functions

 ArrayIterator ()
 
 ArrayIterator (const ArrayType &a)
 
 ArrayIterator (const ArrayType &a, nat_t c)
 
 ArrayIterator (const ArrayIterator &it)
 
 ArrayIterator (ArrayIterator &&it)
 
ArrayIteratoroperator= (const ArrayIterator &it)
 
ArrayIteratoroperator= (ArrayIterator &&it)
 
void swap (ArrayIterator &it)
 
bool has_current () const
 
void next ()
 
void next_n (nat_t p)
 
void prev ()
 
void prev_n (nat_t p)
 
void move_to (nat_t p)
 
void reset ()
 
nat_t get_position () const
 
- Public Member Functions inherited from Designar::RandomAccessIterator< Derived, T, RET_CPY >
RetType< RET_CPY, T, T & > operator[] (nat_t i)
 
Derived & operator+= (nat_t p)
 
Derived operator+ (nat_t p)
 
Derived & operator-= (nat_t p)
 
Derived operator- (nat_t p)
 
bool operator< (const Derived &it) const
 
bool operator<= (const Derived &it) const
 
bool operator> (const Derived &it) const
 
bool operator>= (const Derived &it) const
 
- Public Member Functions inherited from Designar::BidirectionalIterator< Derived, T, RET_CPY >
Derived & operator-- ()
 
Derived operator-- (int)
 
- Public Member Functions inherited from Designar::ForwardIterator< Derived, T, RET_CPY >
Derived & operator++ ()
 
Derived operator++ (int)
 
- Public Member Functions inherited from Designar::BasicIterator< Derived, T, RET_CPY >
bool has_curr () const
 
RetType< RET_CPY, T, T & > get_curr ()
 
RetType< RET_CPY, T, const T & > get_curr () const
 
RetType< RET_CPY, T, T & > operator* ()
 
RetType< RET_CPY, T, const T & > operator* () const
 
T * operator-> ()
 
bool operator== (const Derived &it) const
 
bool operator!= (const Derived &it) const
 

Protected Member Functions

nat_t get_location () const
 
- Protected Member Functions inherited from Designar::BasicIterator< Derived, T, RET_CPY >
Derived & me ()
 
const Derived & const_me () const
 

Protected Attributes

ArrayType * array_ptr
 
nat_t curr
 

Friends

class BasicIterator< Derived, T, RET_CPY >
 
class RandomAccessIterator< Derived, T, RET_CPY >
 

Constructor & Destructor Documentation

template<class Derived, class ArrayType, typename T, bool RET_CPY>
Designar::ArrayIterator< Derived, ArrayType, T, RET_CPY >::ArrayIterator ( )
inline
template<class Derived, class ArrayType, typename T, bool RET_CPY>
Designar::ArrayIterator< Derived, ArrayType, T, RET_CPY >::ArrayIterator ( const ArrayType &  a)
inline
template<class Derived, class ArrayType, typename T, bool RET_CPY>
Designar::ArrayIterator< Derived, ArrayType, T, RET_CPY >::ArrayIterator ( const ArrayType &  a,
nat_t  c 
)
inline
template<class Derived, class ArrayType, typename T, bool RET_CPY>
Designar::ArrayIterator< Derived, ArrayType, T, RET_CPY >::ArrayIterator ( const ArrayIterator< Derived, ArrayType, T, RET_CPY > &  it)
inline
template<class Derived, class ArrayType, typename T, bool RET_CPY>
Designar::ArrayIterator< Derived, ArrayType, T, RET_CPY >::ArrayIterator ( ArrayIterator< Derived, ArrayType, T, RET_CPY > &&  it)
inline

Member Function Documentation

template<class Derived, class ArrayType, typename T, bool RET_CPY>
nat_t Designar::ArrayIterator< Derived, ArrayType, T, RET_CPY >::get_location ( ) const
inlineprotected
template<class Derived, class ArrayType, typename T, bool RET_CPY>
nat_t Designar::ArrayIterator< Derived, ArrayType, T, RET_CPY >::get_position ( ) const
inline
template<class Derived, class ArrayType, typename T, bool RET_CPY>
bool Designar::ArrayIterator< Derived, ArrayType, T, RET_CPY >::has_current ( ) const
inline
template<class Derived, class ArrayType, typename T, bool RET_CPY>
void Designar::ArrayIterator< Derived, ArrayType, T, RET_CPY >::move_to ( nat_t  p)
inline
template<class Derived, class ArrayType, typename T, bool RET_CPY>
void Designar::ArrayIterator< Derived, ArrayType, T, RET_CPY >::next ( )
inline
template<class Derived, class ArrayType, typename T, bool RET_CPY>
void Designar::ArrayIterator< Derived, ArrayType, T, RET_CPY >::next_n ( nat_t  p)
inline
template<class Derived, class ArrayType, typename T, bool RET_CPY>
ArrayIterator& Designar::ArrayIterator< Derived, ArrayType, T, RET_CPY >::operator= ( const ArrayIterator< Derived, ArrayType, T, RET_CPY > &  it)
inline
template<class Derived, class ArrayType, typename T, bool RET_CPY>
ArrayIterator& Designar::ArrayIterator< Derived, ArrayType, T, RET_CPY >::operator= ( ArrayIterator< Derived, ArrayType, T, RET_CPY > &&  it)
inline
template<class Derived, class ArrayType, typename T, bool RET_CPY>
void Designar::ArrayIterator< Derived, ArrayType, T, RET_CPY >::prev ( )
inline
template<class Derived, class ArrayType, typename T, bool RET_CPY>
void Designar::ArrayIterator< Derived, ArrayType, T, RET_CPY >::prev_n ( nat_t  p)
inline
template<class Derived, class ArrayType, typename T, bool RET_CPY>
void Designar::ArrayIterator< Derived, ArrayType, T, RET_CPY >::reset ( )
inline
template<class Derived, class ArrayType, typename T, bool RET_CPY>
void Designar::ArrayIterator< Derived, ArrayType, T, RET_CPY >::swap ( ArrayIterator< Derived, ArrayType, T, RET_CPY > &  it)
inline

Friends And Related Function Documentation

template<class Derived, class ArrayType, typename T, bool RET_CPY>
friend class BasicIterator< Derived, T, RET_CPY >
friend
template<class Derived, class ArrayType, typename T, bool RET_CPY>
friend class RandomAccessIterator< Derived, T, RET_CPY >
friend

Member Data Documentation

template<class Derived, class ArrayType, typename T, bool RET_CPY>
ArrayType* Designar::ArrayIterator< Derived, ArrayType, T, RET_CPY >::array_ptr
protected
template<class Derived, class ArrayType, typename T, bool RET_CPY>
nat_t Designar::ArrayIterator< Derived, ArrayType, T, RET_CPY >::curr
protected

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