Public Types | Public Member Functions

stream::transform< Operation_, Input1_, Stopper, Stopper, Stopper, Stopper, Stopper > Class Template Reference
[Stream package]

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.

Detailed Description

template<class Operation_, class Input1_>
class 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 .

Member Typedef Documentation

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

Standard stream typedef.


Constructor & Destructor Documentation

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

Member Function Documentation

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

Standard stream method.

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

Standard stream method.

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

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