rpa::row_type< Type, Char, Traits > Class Template Reference

#include <row_buffer.h>

Inheritance diagram for rpa::row_type< Type, Char, Traits >:

rpa::row_notype< Char, Traits > List of all members.

Public Types

typedef Type value_type
typedef std::ostream_iterator<
Type > 
iter_out_t
 Given as an output iterator to algorithms executed by each sub-thread.
typedef std::istream_iterator<
Type > 
iter_in_t

Public Member Functions

iter_out_t begout (void)
iter_in_t begin (void) const
iter_in_t end (void) const
 This is for reading from the stream. Same remarks as 'begin()'.

Private Types

typedef row_notype< Char,
Traits > 
ro_bu_noty_t

Detailed Description

template<class Type, class Char, class Traits>
class rpa::row_type< Type, Char, Traits >

This base class of 'row_buffer' does not depend of the streambuf type, and helps separate compilation, and avoids some code bloat.


Member Typedef Documentation

template<class Type, class Char, class Traits>
typedef std::istream_iterator< Type > rpa::row_type< Type, Char, Traits >::iter_in_t

For debugging purpose only. Like all input_iterator, they are never read (See 'probe_range()'). So the returned value is unimportant.

template<class Type, class Char, class Traits>
typedef std::ostream_iterator< Type > rpa::row_type< Type, Char, Traits >::iter_out_t

Given as an output iterator to algorithms executed by each sub-thread.

template<class Type, class Char, class Traits>
typedef row_notype< Char, Traits > rpa::row_type< Type, Char, Traits >::ro_bu_noty_t [private]

template<class Type, class Char, class Traits>
typedef Type rpa::row_type< Type, Char, Traits >::value_type


Member Function Documentation

template<class Type, class Char, class Traits>
iter_in_t rpa::row_type< Type, Char, Traits >::begin ( void   )  const [inline]

This is to read from the stream. Used only by 'probe_range' for debug purpose, to check the content of this quasi-container. Note that :

No check because the object may not be allocated.

template<class Type, class Char, class Traits>
iter_out_t rpa::row_type< Type, Char, Traits >::begout ( void   )  [inline]

For writing into the stream used as a buffer. If dynamic scheduling (range_step), and if output buffers with infinite size (Without mutex), the flush is done only at the end of the execution of each sub-thread, and the buffers are filled at each chop. Therefore, these buffers are never empty except at first call of begout(). We do not write this->ro_bu_noty_t::ptr_stream() because this means the method of ro_bo_noty_t which is not defined - it is a pure virtual.

template<class Type, class Char, class Traits>
iter_in_t rpa::row_type< Type, Char, Traits >::end ( void   )  const [inline]

This is for reading from the stream. Same remarks as 'begin()'.

No check because the object may not be allocated.


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