Public Member Functions | |
SparseVectorIterator (const SparseVectorIterator &source) | |
copy constructor | |
virtual | ~SparseVectorIterator () |
destructor | |
SparseVectorIterator & | operator++ () |
SparseVectorIterator | operator++ (int) |
DoubleProxy | operator * () |
SparseVectorIterator & | 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 SparseVectorIterator &other) |
inequality operator | |
Private Member Functions | |
SparseVectorIterator () | |
default constructor | |
SparseVectorIterator (SparseVector &vector, int position) | |
Private Attributes | |
UInt | position_ |
SparseVector & | vector_ |
std::map< UInt, double > ::const_iterator | valit_ |
Friends | |
class | SparseVector |
class | SparseVector::SparseVectorConstIterator |
SparseVectorIterator | ( | const SparseVectorIterator & | source | ) |
copy constructor
virtual ~SparseVectorIterator | ( | ) | [virtual] |
destructor
SparseVectorIterator | ( | ) | [private] |
default constructor
SparseVectorIterator | ( | SparseVector & | vector, | |
int | position | |||
) | [private] |
SparseVectorIterator& operator++ | ( | ) |
SparseVectorIterator operator++ | ( | int | ) |
DoubleProxy operator * | ( | ) |
SparseVectorIterator& hop | ( | ) |
go to the next nonempty position
bool operator!= | ( | const SparseVectorIterator & | other | ) |
inequality operator
friend class SparseVector [friend] |
friend class SparseVector::SparseVectorConstIterator [friend] |
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 |