#include <indexlist.hpp>
Definition at line 18 of file indexlist.hpp.
Public Member Functions | |
IndexList (unsigned allocsize=0) | |
Initialize list with allocsize. | |
unsigned | GetFirstNotListed () const |
Get first index wich not listed in list. | |
void | AddIndex (unsigned index) |
Add index to list; Be carefull: don't add one index many times! | |
unsigned | GetCurrentSize () const |
Get number of saved indeces. | |
unsigned | operator[] (unsigned i) const |
Get i'th index in increasing order. | |
~IndexList () | |
The destructor. |
|
Initialize list with allocsize.
Definition at line 3 of file indexlist.cpp. |
|
The destructor.
Definition at line 10 of file indexlist.cpp. |
|
Get first index wich not listed in list.
Definition at line 17 of file indexlist.cpp. Referenced by Cross::Approximate(). |
|
Add index to list; Be carefull: don't add one index many times!
Definition at line 52 of file indexlist.cpp. References indexlist_add_allocsize. Referenced by Cross::Approximate(). |
|
Get number of saved indeces.
Definition at line 22 of file indexlist.cpp. |
|
Get i'th index in increasing order.
Definition at line 27 of file indexlist.cpp. |