STXXL  1.4.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
stxxl::stream::unique< Input, dummy_cmp_unique > Class Template Reference

Detailed Description

template<class Input>
class stxxl::stream::unique< Input, dummy_cmp_unique >

Equivalent to std::unique algorithms.

Removes consecutive duplicates from the stream.

Definition at line 85 of file unique.h.

Public Types

typedef Input::value_type value_type
 Standard stream typedef. More...
 

Public Member Functions

 unique (Input &input_)
 
bool empty () const
 Standard stream method. More...
 
const value_typeoperator* () const
 Standard stream method. More...
 
uniqueoperator++ ()
 Standard stream method. More...
 
const value_typeoperator-> () const
 Standard stream method. More...
 

Private Attributes

Input::value_type current
 
Input & input
 

Member Typedef Documentation

template<class Input >
typedef Input::value_type stxxl::stream::unique< Input, dummy_cmp_unique >::value_type

Standard stream typedef.

Definition at line 92 of file unique.h.

Constructor & Destructor Documentation

template<class Input >
stxxl::stream::unique< Input, dummy_cmp_unique >::unique ( Input &  input_)
inline

Definition at line 94 of file unique.h.

Member Function Documentation

template<class Input >
bool stxxl::stream::unique< Input, dummy_cmp_unique >::empty ( ) const
inline

Standard stream method.

Definition at line 123 of file unique.h.

template<class Input >
const value_type& stxxl::stream::unique< Input, dummy_cmp_unique >::operator* ( ) const
inline

Standard stream method.

Definition at line 111 of file unique.h.

template<class Input >
unique& stxxl::stream::unique< Input, dummy_cmp_unique >::operator++ ( )
inline

Standard stream method.

Definition at line 101 of file unique.h.

template<class Input >
const value_type* stxxl::stream::unique< Input, dummy_cmp_unique >::operator-> ( ) const
inline

Standard stream method.

Definition at line 117 of file unique.h.

Member Data Documentation

template<class Input >
Input::value_type stxxl::stream::unique< Input, dummy_cmp_unique >::current
private

Definition at line 88 of file unique.h.

template<class Input >
Input& stxxl::stream::unique< Input, dummy_cmp_unique >::input
private

Definition at line 87 of file unique.h.


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