Stxxl  1.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Types | Public Member Functions | Private Attributes
stxxl::stream::unique< Input, dummy_cmp_unique_ > Class Template Reference

Equivalent to std::unique algorithms. More...

#include <unique.h>

List of all members.

Public Types

typedef Input::value_type value_type
 Standard stream typedef.

Public Member Functions

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

Private Attributes

Input & input
Input::value_type current

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.


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.

References stxxl::stream::unique< Input, BinaryPredicate >::empty().

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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines