STXXL  1.4.0
 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
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

Definition at line 699 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 711 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 718 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 753 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 727 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 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>
const value_type* stxxl::stream::transform< Operation_, Input1_, Input2_, Input3_, Input4_, Input5_, Input6_ >::operator-> ( ) const
inline

Definition at line 732 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 714 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 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>
Input2_& stxxl::stream::transform< Operation_, Input1_, Input2_, Input3_, Input4_, Input5_, Input6_ >::i2
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>
Input3_& stxxl::stream::transform< Operation_, Input1_, Input2_, Input3_, Input4_, Input5_, Input6_ >::i3
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>
Input4_& stxxl::stream::transform< Operation_, Input1_, Input2_, Input3_, Input4_, Input5_, Input6_ >::i4
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>
Input5_& stxxl::stream::transform< Operation_, Input1_, Input2_, Input3_, Input4_, Input5_, Input6_ >::i5
private

Definition at line 706 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 707 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 701 of file stream.h.


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