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

Detailed Description

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

Processes 4 input streams using given operation functor.

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

Definition at line 1010 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_, Input3 &i3_, Input4 &i4_)
 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
 
Input3 & i3
 
Input4 & i4
 
Operation & op
 

Member Typedef Documentation

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

Standard stream typedef.

Definition at line 1020 of file stream.h.

Constructor & Destructor Documentation

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

Construction.

Definition at line 1027 of file stream.h.

Member Function Documentation

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

Standard stream method.

Definition at line 1059 of file stream.h.

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

Standard stream method.

Definition at line 1035 of file stream.h.

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

Standard stream method.

Definition at line 1046 of file stream.h.

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

Definition at line 1040 of file stream.h.

Member Data Documentation

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

Definition at line 1023 of file stream.h.

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

Definition at line 1013 of file stream.h.

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

Definition at line 1014 of file stream.h.

template<class Operation , class Input1 , class Input2 , class Input3 , class Input4 >
Input3& stxxl::stream::transform< Operation, Input1, Input2, Input3, Input4, Stopper, Stopper >::i3
private

Definition at line 1015 of file stream.h.

template<class Operation , class Input1 , class Input2 , class Input3 , class Input4 >
Input4& stxxl::stream::transform< Operation, Input1, Input2, Input3, Input4, Stopper, Stopper >::i4
private

Definition at line 1016 of file stream.h.

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

Definition at line 1012 of file stream.h.


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