STXXL
1.4.0
|
A model of stream that retrieves data from an external stxxl::vector
iterator. It is more efficient than generic iterator2stream
thanks to use of overlapping For convenience use streamify
function instead of direct instantiation of vector_iterator2stream
.
Public Types | |
typedef vector_iterator2stream < InputIterator_ > | Self_ |
typedef std::iterator_traits < InputIterator_ >::value_type | value_type |
Standard stream typedef. More... | |
Public Member Functions | |
vector_iterator2stream (InputIterator_ begin, InputIterator_ end, unsigned_type nbuffers=0) | |
vector_iterator2stream (const Self_ &a) | |
virtual | ~vector_iterator2stream () |
bool | empty () const |
Standard stream method. More... | |
const value_type & | operator* () const |
Standard stream method. More... | |
Self_ & | operator++ () |
Standard stream method. More... | |
const value_type * | operator-> () const |
Private Types | |
typedef buf_istream< typename InputIterator_::block_type, typename InputIterator_::bids_container_iterator > | buf_istream_type |
typedef stxxl::compat_unique_ptr < buf_istream_type >::result | buf_istream_unique_ptr_type |
Private Member Functions | |
void | delete_stream () |
Private Attributes | |
InputIterator_ | current_ |
InputIterator_ | end_ |
buf_istream_unique_ptr_type | in |
|
private |
|
private |
typedef vector_iterator2stream<InputIterator_> stxxl::stream::vector_iterator2stream< InputIterator_ >::Self_ |
typedef std::iterator_traits<InputIterator_>::value_type stxxl::stream::vector_iterator2stream< InputIterator_ >::value_type |
|
inline |
|
inline |
|
inlinevirtual |
|
inlineprivate |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
private |
|
mutableprivate |