Stxxl  1.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Types | Public Member Functions | Private Attributes
stxxl::stream::transform< Operation_, Input1_, Input2_, Input3_, Input4_, Input5_, Input6_ > Class Template Reference

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

#include <stream.h>

List of all members.

Public Types

typedef Operation_::value_type value_type
 Standard stream typedef.

Public Member Functions

 transform (Operation_ &o, Input1_ &i1_, Input2_ &i2_, Input3_ &i3_, Input4_ &i4_, Input5_ &i5_, Input5_ &i6_)
 Construction.
const value_typeoperator* () const
 Standard stream method.
const value_typeoperator-> () const
transformoperator++ ()
 Standard stream method.
bool empty () const
 Standard stream method.

Private Attributes

Operation_ & op
Input1_ & i1
Input2_ & i2
Input3_ & i3
Input4_ & i4
Input5_ & i5
Input6_ & i6
value_type current

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:
Operation_type of the operation (type of an adaptable functor that takes 6 parameters)
Input1_type of the 1st input
Input2_type of the 2nd input
Input3_type of the 3rd input
Input4_type of the 4th input
Input5_type of the 5th input
Input6_type of the 6th input
Examples:
stream/test_stream.cpp.

Definition at line 697 of file stream.h.


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 709 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 716 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 751 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 725 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 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>
const value_type* stxxl::stream::transform< Operation_, Input1_, Input2_, Input3_, Input4_, Input5_, Input6_ >::operator-> ( ) const [inline]

Definition at line 730 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 712 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 700 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 701 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 702 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 703 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 704 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 705 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 699 of file stream.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines