A.I.M.S algorithms


aims::knn::Database::iterator Class Reference

#include <aims/math/knn.h>

Public Types

typedef std::ptrdiff_t difference_type
 
typedef
std::bidirectional_iterator_tag 
iterator_category
 
typedef Vector value_type
 
typedef Vectorpointer
 
typedef Vectorreference
 

Public Member Functions

 iterator ()
 
 iterator (Database *db, unsigned int ind=0)
 
 iterator (const iterator &it)
 
 ~iterator ()
 
iteratoroperator= (const iterator &it)
 
bool operator!= (const iterator &it)
 
bool operator== (const iterator &it)
 
iterator operator++ (void)
 
iterator operator++ (int)
 
iterator operator-- (void)
 
iterator operator-- (int)
 
int operator- (const iterator &it)
 
int operator+ (const iterator &it)
 
iterator operator- (unsigned int ind)
 
iterator operator+ (unsigned int ind)
 
Vectoroperator* (void)
 
bool operator< (const iterator &it)
 

Detailed Description

Definition at line 283 of file knn.h.

Member Typedef Documentation

Definition at line 286 of file knn.h.

typedef std::bidirectional_iterator_tag aims::knn::Database::iterator::iterator_category

Definition at line 287 of file knn.h.

Definition at line 289 of file knn.h.

Definition at line 290 of file knn.h.

Definition at line 288 of file knn.h.

Constructor & Destructor Documentation

aims::knn::Database::iterator::iterator ( )
inline

Definition at line 294 of file knn.h.

Referenced by operator+(), and operator-().

aims::knn::Database::iterator::iterator ( Database db,
unsigned int  ind = 0 
)
inline

Definition at line 295 of file knn.h.

aims::knn::Database::iterator::iterator ( const iterator it)
inline

Definition at line 297 of file knn.h.

aims::knn::Database::iterator::~iterator ( )
inline

Definition at line 299 of file knn.h.

Member Function Documentation

bool aims::knn::Database::iterator::operator!= ( const iterator it)
inline

Definition at line 308 of file knn.h.

Vector& aims::knn::Database::iterator::operator* ( void  )
inline

Definition at line 364 of file knn.h.

References aims::knn::Database::Vector::update().

int aims::knn::Database::iterator::operator+ ( const iterator it)
inline

Definition at line 349 of file knn.h.

iterator aims::knn::Database::iterator::operator+ ( unsigned int  ind)
inline

Definition at line 359 of file knn.h.

References iterator().

iterator aims::knn::Database::iterator::operator++ ( void  )
inline

Definition at line 318 of file knn.h.

References aims::knn::Database::size().

iterator aims::knn::Database::iterator::operator++ ( int  )
inline

Definition at line 324 of file knn.h.

References aims::knn::Database::size().

int aims::knn::Database::iterator::operator- ( const iterator it)
inline

Definition at line 344 of file knn.h.

iterator aims::knn::Database::iterator::operator- ( unsigned int  ind)
inline

Definition at line 354 of file knn.h.

References iterator().

iterator aims::knn::Database::iterator::operator-- ( void  )
inline

Definition at line 331 of file knn.h.

iterator aims::knn::Database::iterator::operator-- ( int  )
inline

Definition at line 337 of file knn.h.

bool aims::knn::Database::iterator::operator< ( const iterator it)
inline

Definition at line 370 of file knn.h.

iterator& aims::knn::Database::iterator::operator= ( const iterator it)
inline

Definition at line 301 of file knn.h.

bool aims::knn::Database::iterator::operator== ( const iterator it)
inline

Definition at line 313 of file knn.h.


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