|
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 .
More...
#include <stream.h>
Public Types | |
| typedef vector_iterator2stream < InputIterator_ > | Self_ |
| typedef std::iterator_traits < InputIterator_ >::value_type | value_type |
| Standard stream typedef. | |
Public Member Functions | |
| vector_iterator2stream (InputIterator_ begin, InputIterator_ end, unsigned_type nbuffers=0) | |
| vector_iterator2stream (const Self_ &a) | |
| const value_type & | operator* () const |
| Standard stream method. | |
| const value_type * | operator-> () const |
| Self_ & | operator++ () |
| Standard stream method. | |
| bool | empty () const |
| Standard stream method. | |
| virtual | ~vector_iterator2stream () |
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 |
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 .
typedef buf_istream<typename InputIterator_::block_type, typename InputIterator_::bids_container_iterator> stxxl::stream::vector_iterator2stream< InputIterator_ >::buf_istream_type [private] |
typedef stxxl::compat_unique_ptr<buf_istream_type>::result stxxl::stream::vector_iterator2stream< InputIterator_ >::buf_istream_unique_ptr_type [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 |
| stxxl::stream::vector_iterator2stream< InputIterator_ >::vector_iterator2stream | ( | InputIterator_ | begin, |
| InputIterator_ | end, | ||
| unsigned_type | nbuffers = 0 |
||
| ) | [inline] |
| stxxl::stream::vector_iterator2stream< InputIterator_ >::vector_iterator2stream | ( | const Self_ & | a | ) | [inline] |
| virtual stxxl::stream::vector_iterator2stream< InputIterator_ >::~vector_iterator2stream | ( | ) | [inline, virtual] |
| void stxxl::stream::vector_iterator2stream< InputIterator_ >::delete_stream | ( | ) | [inline, private] |
| bool stxxl::stream::vector_iterator2stream< InputIterator_ >::empty | ( | ) | const [inline] |
| const value_type& stxxl::stream::vector_iterator2stream< InputIterator_ >::operator* | ( | ) | const [inline] |
| Self_& stxxl::stream::vector_iterator2stream< InputIterator_ >::operator++ | ( | ) | [inline] |
| const value_type* stxxl::stream::vector_iterator2stream< InputIterator_ >::operator-> | ( | ) | const [inline] |
InputIterator_ stxxl::stream::vector_iterator2stream< InputIterator_ >::current_ [private] |
InputIterator_ stxxl::stream::vector_iterator2stream< InputIterator_ >::end_ [private] |
buf_istream_unique_ptr_type stxxl::stream::vector_iterator2stream< InputIterator_ >::in [mutable, private] |
1.7.6.1