Stxxl
1.4.0
|
A model of stream that outputs data from an adaptable generator functor For convenience use streamify
function instead of direct instantiation of generator2stream
.
More...
#include <stream.h>
Public Types | |
typedef T | value_type |
Standard stream typedef. | |
Public Member Functions | |
generator2stream (Generator_ g) | |
generator2stream (const generator2stream &a) | |
const value_type & | operator* () const |
Standard stream method. | |
const value_type * | operator-> () const |
generator2stream & | operator++ () |
Standard stream method. | |
bool | empty () const |
Standard stream method. | |
Private Attributes | |
Generator_ | gen_ |
value_type | current_ |
A model of stream that outputs data from an adaptable generator functor For convenience use streamify
function instead of direct instantiation of generator2stream
.
typedef T stxxl::stream::generator2stream< Generator_, T >::value_type |
stxxl::stream::generator2stream< Generator_, T >::generator2stream | ( | Generator_ | g | ) | [inline] |
stxxl::stream::generator2stream< Generator_, T >::generator2stream | ( | const generator2stream< Generator_, T > & | a | ) | [inline] |
bool stxxl::stream::generator2stream< Generator_, T >::empty | ( | ) | const [inline] |
const value_type& stxxl::stream::generator2stream< Generator_, T >::operator* | ( | ) | const [inline] |
generator2stream& stxxl::stream::generator2stream< Generator_, T >::operator++ | ( | ) | [inline] |
const value_type* stxxl::stream::generator2stream< Generator_, T >::operator-> | ( | ) | const [inline] |
value_type stxxl::stream::generator2stream< Generator_, T >::current_ [private] |
Generator_ stxxl::stream::generator2stream< Generator_, T >::gen_ [private] |