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, Input5, Input6 > Class Template Reference

Detailed Description

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

Processes (up to) 6 input streams using given operation functor.

Template Parameters
Operationtype of the operation (type of an adaptable functor that takes 6 parameters)
Input1type of the 1st input
Input2type of the 2nd input
Input3type of the 3rd input
Input4type of the 4th input
Input5type of the 5th input
Input6type of the 6th input

Definition at line 732 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_, Input5 &i5_, Input5 &i6_)
 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
 
Input5 & i5
 
Input6 & i6
 
Operation & op
 

Member Typedef Documentation

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

Standard stream typedef.

Definition at line 744 of file stream.h.

Constructor & Destructor Documentation

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

Construction.

Definition at line 751 of file stream.h.

Member Function Documentation

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

Standard stream method.

Definition at line 786 of file stream.h.

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

Standard stream method.

Definition at line 760 of file stream.h.

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

Standard stream method.

Definition at line 771 of file stream.h.

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

Definition at line 765 of file stream.h.

Member Data Documentation

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

Definition at line 747 of file stream.h.

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

Definition at line 735 of file stream.h.

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

Definition at line 736 of file stream.h.

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

Definition at line 737 of file stream.h.

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

Definition at line 738 of file stream.h.

template<class Operation , class Input1 , class Input2 = Stopper, class Input3 = Stopper, class Input4 = Stopper, class Input5 = Stopper, class Input6 = Stopper>
Input5& stxxl::stream::transform< Operation, Input1, Input2, Input3, Input4, Input5, Input6 >::i5
private

Definition at line 739 of file stream.h.

template<class Operation , class Input1 , class Input2 = Stopper, class Input3 = Stopper, class Input4 = Stopper, class Input5 = Stopper, class Input6 = Stopper>
Input6& stxxl::stream::transform< Operation, Input1, Input2, Input3, Input4, Input5, Input6 >::i6
private

Definition at line 740 of file stream.h.

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

Definition at line 734 of file stream.h.


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