Public Member Functions | |
SparseVectorConstIterator (const SparseVectorConstIterator &source) | |
copy constructor | |
SparseVectorConstIterator (const SparseVector::SparseVectorIterator &source) | |
copy constructor from SparseVector::SparseVectorIterator | |
virtual | ~SparseVectorConstIterator () |
destructor | |
SparseVectorConstIterator & | operator++ () |
postincrement operator | |
SparseVectorConstIterator | operator++ (int) |
immidiate increment operator | |
double | operator * () |
derefence operator | |
SparseVectorConstIterator & | hop () |
go to the next nonempty position | |
UInt | position () const |
find out at what position the iterator is, useful in combination with hop() | |
bool | operator!= (const SparseVectorConstIterator &other) |
inequality operator | |
Private Member Functions | |
SparseVectorConstIterator () | |
default constructor | |
SparseVectorConstIterator (const SparseVector &vector, int position) | |
detailed constructor | |
Private Attributes | |
UInt | position_ |
const SparseVector & | vector_ |
std::map< UInt, double > ::const_iterator | valit_ |
Friends | |
class | SparseVector |
SparseVectorConstIterator | ( | const SparseVectorConstIterator & | source | ) |
copy constructor
SparseVectorConstIterator | ( | const SparseVector::SparseVectorIterator & | source | ) |
copy constructor from SparseVector::SparseVectorIterator
virtual ~SparseVectorConstIterator | ( | ) | [virtual] |
destructor
SparseVectorConstIterator | ( | ) | [private] |
default constructor
SparseVectorConstIterator | ( | const SparseVector & | vector, | |
int | position | |||
) | [private] |
detailed constructor
SparseVectorConstIterator& operator++ | ( | ) |
postincrement operator
SparseVectorConstIterator operator++ | ( | int | ) |
immidiate increment operator
double operator * | ( | ) |
derefence operator
SparseVectorConstIterator& hop | ( | ) |
go to the next nonempty position
bool operator!= | ( | const SparseVectorConstIterator & | other | ) |
inequality operator
friend class SparseVector [friend] |
const SparseVector& vector_ [private] |
std::map<UInt, double>::const_iterator valit_ [private] |
Generated Tue Apr 1 15:36:44 2008 -- using doxygen 1.5.4 | OpenMS / TOPP 1.1 |