STXXL  1.4-dev
 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
Operationtype of the operation (type of an adaptable functor that takes 1 parameter)
Input1type of the input
Remarks
This is a specialization of transform .

Definition at line 808 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 815 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 822 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 850 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 829 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 840 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 834 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 818 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 811 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 810 of file stream.h.


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