#include <row_buffer.h>
Inheritance diagram for rpa::row_type< Type, Char, Traits >:
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 |
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.
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.
typedef row_notype< Char, Traits > rpa::row_type< Type, Char, Traits >::ro_bu_noty_t [private] |
typedef Type rpa::row_type< Type, Char, Traits >::value_type |
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.
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.
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.