Stxxl
1.2.1
|
Buffered input stream. More...
#include <buf_istream.h>
Public Member Functions | |
buf_istream (bid_iterator_type _begin, bid_iterator_type _end, int_type nbuffers) | |
Constructs input stream object. | |
_Self & | operator>> (reference record) |
Input stream operator, reads in record . | |
reference | current () |
Returns reference to the current record in the stream. | |
reference | operator* () |
Returns reference to the current record in the stream. | |
_Self & | operator++ () |
Moves to the next record in the stream. | |
virtual | ~buf_istream () |
Frees used internal objects. |
Buffered input stream.
Reads data records from the stream of blocks.
|
inline |
Constructs input stream object.
_begin | bid_iterator pointing to the first block of the stream |
_end | bid_iterator pointing to the ( last + 1 ) block of the stream |
nbuffers | number of buffers for internal use |
References block_prefetcher< block_type, bid_iterator_type >::pull_block().
|
inlinevirtual |
Frees used internal objects.
|
inline |
Returns reference to the current record in the stream.
|
inline |
Returns reference to the current record in the stream.
|
inline |
Moves to the next record in the stream.
References block_prefetcher< block_type, bid_iterator_type >::block_consumed().
|
inline |
Input stream operator, reads in record
.
record | reference to the block record type, contains value of the next record in the stream after the call of the operator |
References block_prefetcher< block_type, bid_iterator_type >::block_consumed().