ModErn Text Analysis
META Enumerates Textual Applications
Public Member Functions | Private Member Functions | Private Attributes | List of all members
meta::util::disk_vector< T >::iterator Class Reference

Provides iterator functionality for the disk_vector class. More...

#include <disk_vector.h>

Inheritance diagram for meta::util::disk_vector< T >::iterator:

Public Member Functions

 iterator ()
 Constructor.
 
 iterator (const iterator &other)
 Copy constructor.
 
iteratoroperator= (iterator other)
 assignment operator.
 
iteratoroperator++ ()
 Pre-increment.
 
iterator operator++ (int)
 Post-increment.
 
iteratoroperator-- ()
 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.
 

Detailed Description

template<class T>
class meta::util::disk_vector< T >::iterator

Provides iterator functionality for the disk_vector class.

Constructor & Destructor Documentation

template<class T>
meta::util::disk_vector< T >::iterator::iterator ( uint64_t  idx,
T *  data 
)
inlineprivate

Constructor for disk_vector to use.

Parameters
idxThe index to start out at
dataThe data element to initially contain

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