STXXL  1.4-dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
stxxl::stream::transform< Operation, Input1, Input2, Stopper, Stopper, Stopper, Stopper > Class Template Reference

Detailed Description

template<class Operation, class Input1, class Input2>
class stxxl::stream::transform< Operation, Input1, Input2, Stopper, Stopper, Stopper, Stopper >

Processes 2 input streams using given operation functor.

Template Parameters
Operationtype of the operation (type of an adaptable functor that takes 2 parameters)
Input1type of the 1st input
Input2type of the 2nd input
Remarks
This is a specialization of transform .

Definition at line 871 of file stream.h.

Public Types

typedef Operation::value_type value_type
 Standard stream typedef. More...
 

Public Member Functions

 transform (Operation &o, Input1 &i1_, Input2 &i2_)
 Construction. More...
 
bool empty () const
 Standard stream method. More...
 
const value_typeoperator* () const
 Standard stream method. More...
 
transformoperator++ ()
 Standard stream method. More...
 
const value_typeoperator-> () const
 

Private Attributes

value_type current
 
Input1 & i1
 
Input2 & i2
 
Operation & op
 

Member Typedef Documentation

template<class Operation , class Input1 , class Input2 >
typedef Operation::value_type stxxl::stream::transform< Operation, Input1, Input2, Stopper, Stopper, Stopper, Stopper >::value_type

Standard stream typedef.

Definition at line 879 of file stream.h.

Constructor & Destructor Documentation

template<class Operation , class Input1 , class Input2 >
stxxl::stream::transform< Operation, Input1, Input2, Stopper, Stopper, Stopper, Stopper >::transform ( Operation &  o,
Input1 &  i1_,
Input2 &  i2_ 
)
inline

Construction.

Definition at line 886 of file stream.h.

Member Function Documentation

template<class Operation , class Input1 , class Input2 >
bool stxxl::stream::transform< Operation, Input1, Input2, Stopper, Stopper, Stopper, Stopper >::empty ( ) const
inline

Standard stream method.

Definition at line 915 of file stream.h.

template<class Operation , class Input1 , class Input2 >
const value_type& stxxl::stream::transform< Operation, Input1, Input2, Stopper, Stopper, Stopper, Stopper >::operator* ( ) const
inline

Standard stream method.

Definition at line 893 of file stream.h.

template<class Operation , class Input1 , class Input2 >
transform& stxxl::stream::transform< Operation, Input1, Input2, Stopper, Stopper, Stopper, Stopper >::operator++ ( )
inline

Standard stream method.

Definition at line 904 of file stream.h.

template<class Operation , class Input1 , class Input2 >
const value_type* stxxl::stream::transform< Operation, Input1, Input2, Stopper, Stopper, Stopper, Stopper >::operator-> ( ) const
inline

Definition at line 898 of file stream.h.

Member Data Documentation

template<class Operation , class Input1 , class Input2 >
value_type stxxl::stream::transform< Operation, Input1, Input2, Stopper, Stopper, Stopper, Stopper >::current
private

Definition at line 882 of file stream.h.

template<class Operation , class Input1 , class Input2 >
Input1& stxxl::stream::transform< Operation, Input1, Input2, Stopper, Stopper, Stopper, Stopper >::i1
private

Definition at line 874 of file stream.h.

template<class Operation , class Input1 , class Input2 >
Input2& stxxl::stream::transform< Operation, Input1, Input2, Stopper, Stopper, Stopper, Stopper >::i2
private

Definition at line 875 of file stream.h.

template<class Operation , class Input1 , class Input2 >
Operation& stxxl::stream::transform< Operation, Input1, Input2, Stopper, Stopper, Stopper, Stopper >::op
private

Definition at line 873 of file stream.h.


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