ModErn Text Analysis
META Enumerates Textual Applications
|
Provides iterator functionality for the disk_vector class. More...
#include <disk_vector.h>
Public Member Functions | |
iterator () | |
Constructor. | |
iterator (const iterator &other) | |
Copy constructor. | |
iterator & | operator= (iterator other) |
assignment operator. | |
iterator & | operator++ () |
Pre-increment. | |
iterator | operator++ (int) |
Post-increment. | |
iterator & | operator-- () |
Pre-decrement. | |
iterator | operator-- (int) |
Post-decrement. | |
bool | operator== (const iterator &other) |
Equality. | |
bool | operator!= (const iterator &other) |
Inequality. | |
T & | operator* () |
Dereference operator. | |
const T * | operator-> () |
Arrow operator. | |
bool | operator< (const iterator &other) const |
Operator<. | |
bool | operator> (const iterator &other) const |
Operator>. | |
bool | operator<= (const iterator &other) const |
Operator<=. | |
bool | operator>= (const iterator &other) const |
Operator>=. | |
Private Member Functions | |
iterator (uint64_t idx, T *data) | |
Constructor for disk_vector to use. More... | |
Private Attributes | |
friend | disk_vector |
Need to access disk_vector representation. | |
uint64_t | idx_ |
The current index this iterator is at. | |
T * | data_ |
The current element this iterator is at. | |
Provides iterator functionality for the disk_vector class.
|
inlineprivate |
Constructor for disk_vector to use.
idx | The index to start out at |
data | The data element to initially contain |