|
Claw
1.7.0
|
A class to manage an index and an iterator easily. More...
#include <it_index.hpp>
Public Member Functions | |
| it_index () | |
| Constructor. | |
| it_index (const T &it, int index=0) | |
| Constructor. | |
| it_index (const it_index< T > &that) | |
| Copy constructor. | |
| void | set (const T &it, int index) |
| Change the current pair. | |
| bool | operator< (const it_index< T > &that) const |
| bool | operator< (const T &it) const |
| bool | operator< (int index) const |
| bool | operator<= (const it_index< T > &that) const |
| bool | operator<= (const T &it) const |
| bool | operator<= (int index) const |
| bool | operator> (const it_index< T > &that) const |
| bool | operator> (const T &it) const |
| bool | operator> (int index) const |
| bool | operator>= (const it_index< T > &that) const |
| bool | operator>= (const T &it) const |
| bool | operator>= (int index) const |
| bool | operator== (const it_index< T > &that) const |
| bool | operator== (const T &it) const |
| bool | operator== (int index) const |
| bool | operator!= (const it_index< T > &that) const |
| bool | operator!= (const T &it) const |
| bool | operator!= (int index) const |
| it_index< T > | operator+ (int index) const |
| it_index< T > | operator- (int index) const |
| it_index< T > | operator* (int index) const |
| it_index< T > | operator/ (int index) const |
| reference | operator* () const |
| pointer | operator-> () const |
| it_index< T > & | operator++ () |
| it_index< T > | operator++ (int) |
| it_index< T > & | operator-- () |
| it_index< T > | operator-- (int) |
| it_index< T > & | operator+= (int index) |
| it_index< T > & | operator-= (int index) |
| it_index< T > & | operator*= (int index) |
| it_index< T > & | operator/= (int index) |
| operator int () const | |
| operator T () const | |
A class to manage an index and an iterator easily.
| T | Type of the iterator. |
Definition at line 42 of file it_index.hpp.
|
inline |
Constructor.
| it | The iterator. |
| index | Iterator's position. |
Definition at line 68 of file it_index.hpp.
|
inline |
Copy constructor.
| that | it_index to copy from. |
Definition at line 76 of file it_index.hpp.
|
inline |
Change the current pair.
| it | The new iterator. |
| index | New iterator's position. |
Definition at line 85 of file it_index.hpp.
Referenced by claw::text::kmp< RandomIterator >::operator()().
1.8.1