STXXL  1.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
stxxl::stream::transform< Operation_, Input1_, Input2_, Stopper, Stopper, Stopper, Stopper > Class Template Reference

Detailed Description

template<class Operation_, class Input1_, class Input2_>
class stxxl::stream::transform< Operation_, Input1_, Input2_, Stopper, Stopper, Stopper, Stopper >

Processes 2 input streams using given operation functor.

Template Parameters
Operation_type of the operation (type of an adaptable functor that takes 2 parameters)
Input1_type of the 1st input
Input2_type of the 2nd input
Remarks
This is a specialization of transform .

Definition at line 839 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_)
 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
 
Operation_ & op
 

Member Typedef Documentation

template<class Operation_ , class Input1_ , class Input2_ >
typedef Operation_::value_type stxxl::stream::transform< Operation_, Input1_, Input2_, Stopper, Stopper, Stopper, Stopper >::value_type

Standard stream typedef.

Definition at line 847 of file stream.h.

Constructor & Destructor Documentation

template<class Operation_ , class Input1_ , class Input2_ >
stxxl::stream::transform< Operation_, Input1_, Input2_, Stopper, Stopper, Stopper, Stopper >::transform ( Operation_ &  o,
Input1_ &  i1_,
Input2_ &  i2_ 
)
inline

Construction.

Definition at line 854 of file stream.h.

Member Function Documentation

template<class Operation_ , class Input1_ , class Input2_ >
bool stxxl::stream::transform< Operation_, Input1_, Input2_, Stopper, Stopper, Stopper, Stopper >::empty ( ) const
inline

Standard stream method.

Definition at line 883 of file stream.h.

template<class Operation_ , class Input1_ , class Input2_ >
const value_type& stxxl::stream::transform< Operation_, Input1_, Input2_, Stopper, Stopper, Stopper, Stopper >::operator* ( ) const
inline

Standard stream method.

Definition at line 861 of file stream.h.

template<class Operation_ , class Input1_ , class Input2_ >
transform& stxxl::stream::transform< Operation_, Input1_, Input2_, Stopper, Stopper, Stopper, Stopper >::operator++ ( )
inline

Standard stream method.

Definition at line 872 of file stream.h.

template<class Operation_ , class Input1_ , class Input2_ >
const value_type* stxxl::stream::transform< Operation_, Input1_, Input2_, Stopper, Stopper, Stopper, Stopper >::operator-> ( ) const
inline

Definition at line 866 of file stream.h.

Member Data Documentation

template<class Operation_ , class Input1_ , class Input2_ >
value_type stxxl::stream::transform< Operation_, Input1_, Input2_, Stopper, Stopper, Stopper, Stopper >::current
private

Definition at line 850 of file stream.h.

template<class Operation_ , class Input1_ , class Input2_ >
Input1_& stxxl::stream::transform< Operation_, Input1_, Input2_, Stopper, Stopper, Stopper, Stopper >::i1
private

Definition at line 842 of file stream.h.

template<class Operation_ , class Input1_ , class Input2_ >
Input2_& stxxl::stream::transform< Operation_, Input1_, Input2_, Stopper, Stopper, Stopper, Stopper >::i2
private

Definition at line 843 of file stream.h.

template<class Operation_ , class Input1_ , class Input2_ >
Operation_& stxxl::stream::transform< Operation_, Input1_, Input2_, Stopper, Stopper, Stopper, Stopper >::op
private

Definition at line 841 of file stream.h.


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