STXXL  1.4-dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
stxxl::stream::choose< Input, 2 > Class Template Reference

Detailed Description

template<class Input>
class stxxl::stream::choose< Input, 2 >

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

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

Definition at line 83 of file choose.h.

Public Types

typedef tuple_type::second_type value_type
 Standard stream typedef. More...
 

Public Member Functions

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

Private Types

typedef Input::value_type tuple_type
 

Private Attributes

Input & in
 

Member Typedef Documentation

template<class Input >
typedef Input::value_type stxxl::stream::choose< Input, 2 >::tuple_type
private

Definition at line 87 of file choose.h.

template<class Input >
typedef tuple_type::second_type stxxl::stream::choose< Input, 2 >::value_type

Standard stream typedef.

Definition at line 91 of file choose.h.

Constructor & Destructor Documentation

template<class Input >
stxxl::stream::choose< Input, 2 >::choose ( Input &  in_)
inline

Construction.

Definition at line 94 of file choose.h.

Member Function Documentation

template<class Input >
bool stxxl::stream::choose< Input, 2 >::empty ( ) const
inline

Standard stream method.

Definition at line 116 of file choose.h.

template<class Input >
const value_type& stxxl::stream::choose< Input, 2 >::operator* ( ) const
inline

Standard stream method.

Definition at line 98 of file choose.h.

template<class Input >
choose& stxxl::stream::choose< Input, 2 >::operator++ ( )
inline

Standard stream method.

Definition at line 109 of file choose.h.

template<class Input >
const value_type* stxxl::stream::choose< Input, 2 >::operator-> ( ) const
inline

Definition at line 103 of file choose.h.

Member Data Documentation

template<class Input >
Input& stxxl::stream::choose< Input, 2 >::in
private

Definition at line 85 of file choose.h.


The documentation for this class was generated from the following file: