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

Processes an input stream 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_)
 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
value_type current

Detailed Description

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

Processes an input stream using given operation functor.

Template Parameters:
Operation_type of the operation (type of an adaptable functor that takes 1 parameter)
Input1_type of the input
Remarks:
This is a specialization of transform .

Definition at line 773 of file stream.h.


Member Typedef Documentation

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

Standard stream typedef.

Definition at line 780 of file stream.h.


Constructor & Destructor Documentation

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

Construction.

Definition at line 787 of file stream.h.


Member Function Documentation

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

Standard stream method.

Definition at line 815 of file stream.h.

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

Standard stream method.

Definition at line 794 of file stream.h.

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

Standard stream method.

Definition at line 805 of file stream.h.

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

Definition at line 799 of file stream.h.


Member Data Documentation

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

Definition at line 783 of file stream.h.

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

Definition at line 776 of file stream.h.

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

Definition at line 775 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