STXXL
1.4-dev
|
#include <stxxl/bits/namespace.h>
#include <stxxl/bits/mng/buf_istream.h>
#include <stxxl/bits/mng/buf_ostream.h>
#include <stxxl/bits/common/tuple.h>
#include <stxxl/bits/common/error_handling.h>
#include <stxxl/vector>
#include <stxxl/bits/compat/unique_ptr.h>
#include <stxxl/bits/stream/choose.h>
#include <stxxl/bits/stream/unique.h>
Go to the source code of this file.
Namespaces | |
stxxl | |
STXXL library namespace | |
stxxl::stream | |
Stream package subnamespace. | |
Macros | |
#define | STXXL_VERBOSE_MATERIALIZE STXXL_VERBOSE3 |
Functions | |
template<class StreamAlgorithm > | |
void | stxxl::stream::discard (StreamAlgorithm &in) |
Reads stream content and discards it. Useful where you do not need the processed stream anymore, but are just interested in side effects, or just for debugging. More... | |
template<class OutputIterator , class StreamAlgorithm > | |
OutputIterator | stxxl::stream::materialize (StreamAlgorithm &in, OutputIterator out) |
Stores consecutively stream content to an output iterator. More... | |
template<class OutputIterator , class StreamAlgorithm > | |
OutputIterator | stxxl::stream::materialize (StreamAlgorithm &in, OutputIterator outbegin, OutputIterator outend) |
Stores consecutively stream content to an output iterator range until end of the stream or end of the iterator range is reached. More... | |
template<typename ValueType , typename AllocStr , typename SizeType , typename DiffType , unsigned BlockSize, typename PagerType , unsigned PageSize, class StreamAlgorithm > | |
stxxl::vector_iterator < ValueType, AllocStr, SizeType, DiffType, BlockSize, PagerType, PageSize > | stxxl::stream::materialize (StreamAlgorithm &in, stxxl::vector_iterator< ValueType, AllocStr, SizeType, DiffType, BlockSize, PagerType, PageSize > outbegin, stxxl::vector_iterator< ValueType, AllocStr, SizeType, DiffType, BlockSize, PagerType, PageSize > outend, unsigned_type nbuffers=0) |
Stores consecutively stream content to an output stxxl::vector iterator until end of the stream or end of the iterator range is reached. More... | |
template<typename ValueType , typename AllocStr , typename SizeType , typename DiffType , unsigned BlockSize, typename PagerType , unsigned PageSize, class StreamAlgorithm > | |
stxxl::vector_iterator < ValueType, AllocStr, SizeType, DiffType, BlockSize, PagerType, PageSize > | stxxl::stream::materialize (StreamAlgorithm &in, stxxl::vector_iterator< ValueType, AllocStr, SizeType, DiffType, BlockSize, PagerType, PageSize > out, unsigned_type nbuffers=0) |
Stores consecutively stream content to an output stxxl::vector iterator. More... | |
template<class InputIterator > | |
iterator2stream< InputIterator > | stxxl::stream::streamify (InputIterator begin, InputIterator end) |
Input iterator range to stream converter. More... | |
template<typename ValueType , typename AllocStr , typename SizeType , typename DiffType , unsigned BlockSize, typename PagerType , unsigned PageSize> | |
vector_iterator2stream < stxxl::vector_iterator < ValueType, AllocStr, SizeType, DiffType, BlockSize, PagerType, PageSize > > | stxxl::stream::streamify (stxxl::vector_iterator< ValueType, AllocStr, SizeType, DiffType, BlockSize, PagerType, PageSize > begin, stxxl::vector_iterator< ValueType, AllocStr, SizeType, DiffType, BlockSize, PagerType, PageSize > end, unsigned_type nbuffers=0) |
Input external stxxl::vector iterator range to stream converter. It is more efficient than generic input iterator streamify thanks to use of overlapping. More... | |
template<typename ValueType , typename AllocStr , typename SizeType , typename DiffType , unsigned BlockSize, typename PagerType , unsigned PageSize> | |
vector_iterator2stream < stxxl::const_vector_iterator < ValueType, AllocStr, SizeType, DiffType, BlockSize, PagerType, PageSize > > | stxxl::stream::streamify (stxxl::const_vector_iterator< ValueType, AllocStr, SizeType, DiffType, BlockSize, PagerType, PageSize > begin, stxxl::const_vector_iterator< ValueType, AllocStr, SizeType, DiffType, BlockSize, PagerType, PageSize > end, unsigned_type nbuffers=0) |
Input external stxxl::vector const iterator range to stream converter. It is more efficient than generic input iterator streamify thanks to use of overlapping. More... | |
template<class Generator > | |
generator2stream< Generator > | stxxl::stream::streamify (Generator gen_) |
Adaptable generator to stream converter. More... | |
template<typename ValueType , typename AllocStr , typename SizeType , typename DiffType , unsigned BlockSize, typename PagerType , unsigned PageSize> | |
vector_iterator2stream_sr < stxxl::vector_iterator < ValueType, AllocStr, SizeType, DiffType, BlockSize, PagerType, PageSize > > | stxxl::stream::streamify_sr (stxxl::vector_iterator< ValueType, AllocStr, SizeType, DiffType, BlockSize, PagerType, PageSize > begin, stxxl::vector_iterator< ValueType, AllocStr, SizeType, DiffType, BlockSize, PagerType, PageSize > end, unsigned_type nbuffers=0) |
Version of streamify . Switches from vector_iterator2stream to iterator2stream for small ranges. More... | |
template<typename ValueType , typename AllocStr , typename SizeType , typename DiffType , unsigned BlockSize, typename PagerType , unsigned PageSize> | |
vector_iterator2stream_sr < stxxl::const_vector_iterator < ValueType, AllocStr, SizeType, DiffType, BlockSize, PagerType, PageSize > > | stxxl::stream::streamify_sr (stxxl::const_vector_iterator< ValueType, AllocStr, SizeType, DiffType, BlockSize, PagerType, PageSize > begin, stxxl::const_vector_iterator< ValueType, AllocStr, SizeType, DiffType, BlockSize, PagerType, PageSize > end, unsigned_type nbuffers=0) |
Version of streamify . Switches from vector_iterator2stream to iterator2stream for small ranges. More... | |
#define STXXL_VERBOSE_MATERIALIZE STXXL_VERBOSE3 |
Definition at line 27 of file stream.h.
Referenced by stxxl::stream::materialize().