Stxxl  1.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Types | Public Member Functions | Private Types | Private Attributes
stxxl::stream::choose< Input_, 1 > Class Template Reference

Creates stream from a tuple stream taking the first component of each tuple. More...

#include <choose.h>

List of all members.

Public Types

typedef tuple_type::first_type value_type
 Standard stream typedef.

Public Member Functions

 choose (Input_ &in_)
 Construction.
const value_typeoperator* () const
 Standard stream method.
const value_typeoperator-> () const
chooseoperator++ ()
 Standard stream method.
bool empty () const
 Standard stream method.

Private Types

typedef Input_::value_type tuple_type

Private Attributes

Input_ & in

Detailed Description

template<class Input_>
class stxxl::stream::choose< Input_, 1 >

Creates stream from a tuple stream taking the first component of each tuple.

Template Parameters:
Input_type of the input tuple stream
Remarks:
Tuple stream is a stream which value_type is stxxl::tuple .

Definition at line 39 of file choose.h.


Member Typedef Documentation

template<class Input_ >
typedef Input_::value_type stxxl::stream::choose< Input_, 1 >::tuple_type [private]

Definition at line 43 of file choose.h.

template<class Input_ >
typedef tuple_type::first_type stxxl::stream::choose< Input_, 1 >::value_type

Standard stream typedef.

Definition at line 47 of file choose.h.


Constructor & Destructor Documentation

template<class Input_ >
stxxl::stream::choose< Input_, 1 >::choose ( Input_ &  in_) [inline]

Construction.

Definition at line 50 of file choose.h.


Member Function Documentation

template<class Input_ >
bool stxxl::stream::choose< Input_, 1 >::empty ( ) const [inline]

Standard stream method.

Definition at line 72 of file choose.h.

template<class Input_ >
const value_type& stxxl::stream::choose< Input_, 1 >::operator* ( ) const [inline]

Standard stream method.

Definition at line 54 of file choose.h.

template<class Input_ >
choose& stxxl::stream::choose< Input_, 1 >::operator++ ( ) [inline]

Standard stream method.

Definition at line 65 of file choose.h.

template<class Input_ >
const value_type* stxxl::stream::choose< Input_, 1 >::operator-> ( ) const [inline]

Definition at line 59 of file choose.h.


Member Data Documentation

template<class Input_ >
Input_& stxxl::stream::choose< Input_, 1 >::in [private]

Definition at line 41 of file choose.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines