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

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

Public Types

typedef Operation_::value_type value_type
 Standard stream typedef. More...
 

Public Member Functions

 transform (Operation_ &o, Input1_ &i1_)
 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
 
Operation_ & op
 

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 782 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 789 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 817 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 796 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 807 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 801 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 785 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 778 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 777 of file stream.h.


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