|
Stxxl
1.4.0
|
Equivalent to std::unique algorithms. More...
#include <unique.h>
Public Types | |
| typedef Input::value_type | value_type |
| Standard stream typedef. | |
Public Member Functions | |
| unique (Input &input_, BinaryPredicate binary_pred_) | |
| unique & | operator++ () |
| Standard stream method. | |
| const value_type & | operator* () const |
| Standard stream method. | |
| const value_type * | operator-> () const |
| Standard stream method. | |
| bool | empty () const |
| Standard stream method. | |
Private Attributes | |
| Input & | input |
| BinaryPredicate | binary_pred |
| Input::value_type | current |
Equivalent to std::unique algorithms.
Removes consecutive duplicates from the stream. Uses BinaryPredicate to compare elements of the stream
| typedef Input::value_type stxxl::stream::unique< Input, BinaryPredicate >::value_type |
| stxxl::stream::unique< Input, BinaryPredicate >::unique | ( | Input & | input_, |
| BinaryPredicate | binary_pred_ | ||
| ) | [inline] |
| bool stxxl::stream::unique< Input, BinaryPredicate >::empty | ( | ) | const [inline] |
Standard stream method.
Definition at line 75 of file unique.h.
References stxxl::stream::unique< Input, BinaryPredicate >::empty().
Referenced by stxxl::stream::unique< Input, BinaryPredicate >::empty(), and stxxl::stream::unique< Input, dummy_cmp_unique_ >::empty().
| const value_type& stxxl::stream::unique< Input, BinaryPredicate >::operator* | ( | ) | const [inline] |
| unique& stxxl::stream::unique< Input, BinaryPredicate >::operator++ | ( | ) | [inline] |
| const value_type* stxxl::stream::unique< Input, BinaryPredicate >::operator-> | ( | ) | const [inline] |
BinaryPredicate stxxl::stream::unique< Input, BinaryPredicate >::binary_pred [private] |
Input::value_type stxxl::stream::unique< Input, BinaryPredicate >::current [private] |
Input& stxxl::stream::unique< Input, BinaryPredicate >::input [private] |
1.7.6.1