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

Detailed Description

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

Processes 3 input streams using given operation functor.

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

Definition at line 938 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_)
 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
 
Operation & op
 

Member Typedef Documentation

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

Standard stream typedef.

Definition at line 947 of file stream.h.

Constructor & Destructor Documentation

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

Construction.

Definition at line 954 of file stream.h.

Member Function Documentation

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

Standard stream method.

Definition at line 985 of file stream.h.

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

Standard stream method.

Definition at line 962 of file stream.h.

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

Standard stream method.

Definition at line 973 of file stream.h.

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

Definition at line 967 of file stream.h.

Member Data Documentation

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

Definition at line 950 of file stream.h.

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

Definition at line 941 of file stream.h.

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

Definition at line 942 of file stream.h.

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

Definition at line 943 of file stream.h.

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

Definition at line 940 of file stream.h.


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