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_, Stopper, Stopper, Stopper, Stopper > Class Template Reference

Processes 2 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_)
 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
value_type current

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 837 of file stream.h.


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 845 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 852 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 881 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 859 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 870 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 864 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 848 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 840 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 841 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 839 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