rpa::range_jump< It >::slice Class Reference

#include <common.h>

List of all members.

Public Types

typedef iterator_jump_lead<
It > 
iterator

Public Member Functions

iterator begin (void) const
iterator end (void) const
bool empty (void) const
 slice (It aBeg, It aEnd, size_t aJmp)
 slice ()
size_t size_safe (void) const

Private Attributes

iterator _Beg
iterator _End

template<class It>
class rpa::range_jump< It >::slice


Member Typedef Documentation

template<class It>
typedef iterator_jump_lead< It > rpa::range_jump< It >::slice::iterator

At each incrementation, jumps several elements (Equal to the threads number). It can to detect whether it reached the end of the sequence, and for this, needs the sequence end and stores it internally.


Constructor & Destructor Documentation

template<class It>
rpa::range_jump< It >::slice::slice ( It  aBeg,
It  aEnd,
size_t  aJmp 
) [inline]

template<class It>
rpa::range_jump< It >::slice::slice (  )  [inline]

When we reach the end of the input sequence. The default constructor if 'iterator_jump_lead' is so, that 'empty()' will be true.


Member Function Documentation

template<class It>
iterator rpa::range_jump< It >::slice::begin ( void   )  const [inline]

template<class It>
bool rpa::range_jump< It >::slice::empty ( void   )  const [inline]

template<class It>
iterator rpa::range_jump< It >::slice::end ( void   )  const [inline]

template<class It>
size_t rpa::range_jump< It >::slice::size_safe ( void   )  const [inline]

This is used for debugging purpose only. This returns an 'absurd' value if the iterators are 'output_type'.


Member Data Documentation

template<class It>
iterator rpa::range_jump< It >::slice::_Beg [private]

template<class It>
iterator rpa::range_jump< It >::slice::_End [private]


The documentation for this class was generated from the following file:
Generated on Tue Sep 25 10:20:37 2007 for rpa by  doxygen 1.4.7