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

Created by 'segmenting' an input range, ie, a range made of a pair of iterators. More...

#include <common.h>

List of all members.

Public Types

typedef It iterator

Public Member Functions

It begin (void) const
It end (void) const
void check (void) const
bool empty (void) const
 slice (const It &aBeg, const It &aEnd)

Private Attributes

It _Beg
It _End


Detailed Description

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

Created by 'segmenting' an input range, ie, a range made of a pair of iterators.

It is not necessary to store the size, but it is technically easy : One just needs to store the result of adv().


Member Typedef Documentation

template<class It>
typedef It rpa::range_step_base< It >::slice::iterator


Constructor & Destructor Documentation

template<class It>
rpa::range_step_base< It >::slice::slice ( const It &  aBeg,
const It &  aEnd 
) [inline]

When the output has a limited size, we pick up fixed-size slices for processing, but no mutex is necessary because this is inside a single thread (See obuf_iterator).


Member Function Documentation

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

template<class It>
void rpa::range_step_base< It >::slice::check ( void   )  const [inline]

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

Necessary for a slice created by an input range. If the size was stored, we would just need to check its zeroness.

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


Member Data Documentation

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

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


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