Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

IndexList Class Reference

#include <indexlist.hpp>

List of all members.


Detailed Description

Class of increasing indexes list.

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.


Constructor & Destructor Documentation

IndexList::IndexList unsigned  allocsize = 0  ) 
 

Initialize list with allocsize.

Definition at line 3 of file indexlist.cpp.

IndexList::~IndexList  ) 
 

The destructor.

Definition at line 10 of file indexlist.cpp.


Member Function Documentation

unsigned IndexList::GetFirstNotListed  )  const
 

Get first index wich not listed in list.

Definition at line 17 of file indexlist.cpp.

Referenced by Cross::Approximate().

void IndexList::AddIndex unsigned  index  ) 
 

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().

unsigned IndexList::GetCurrentSize  )  const
 

Get number of saved indeces.

Definition at line 22 of file indexlist.cpp.

unsigned IndexList::operator[] unsigned  i  )  const
 

Get i'th index in increasing order.

Definition at line 27 of file indexlist.cpp.


The documentation for this class was generated from the following files:
Generated on Sun May 25 01:58:08 2025 for SmoluchowskiSolver by Doxygen