Home  · Classes  · Annotated Classes  · Modules  · Members  · Namespaces  · Related Pages
Public Member Functions | Protected Member Functions | Private Attributes | Friends | List of all members
SparseVector< Value >::SparseVectorConstReverseIterator Class Reference

const_reverse_iterator for SparseVector More...

#include <OpenMS/DATASTRUCTURES/SparseVector.h>

Public Member Functions

 SparseVectorConstReverseIterator (const SparseVectorConstIterator &source)
 copy constructor More...
 
 SparseVectorConstReverseIterator (const SparseVectorReverseIterator &source)
 copy constructor from SparseVector::SparseVectorIterator More...
 
virtual ~SparseVectorConstReverseIterator ()
 destructor More...
 
SparseVectorConstReverseIteratoroperator= (const SparseVectorConstReverseIterator &source)
 assignment operator More...
 
SparseVectorConstReverseIteratoroperator++ ()
 postincrement operator More...
 
SparseVectorConstReverseIterator operator++ (int)
 immediate increment operator More...
 
SparseVectorConstReverseIteratoroperator-- ()
 postdecrement operator More...
 
SparseVectorConstReverseIterator operator-- (int)
 immediate decrement operator More...
 
ValueProxy operator* ()
 dereference operator More...
 
SparseVectorConstReverseIteratorrhop ()
 go to the next nonempty position More...
 
size_type position () const
 find out at what position the iterator is, useful in combination with hop() More...
 
bool operator!= (const SparseVectorConstReverseIterator &other)
 inequality operator More...
 

Protected Member Functions

 SparseVectorConstReverseIterator ()
 default constructor More...
 
 SparseVectorConstReverseIterator (const SparseVector &vector, size_type position)
 detailed constructor More...
 

Private Attributes

size_type position_
 
const SparseVectorvector_
 reference to the vector operating on More...
 
reverse_map_const_iterator valrit_
 

Friends

class SparseVector< Value >
 

Detailed Description

template<typename Value>
class OpenMS::SparseVector< Value >::SparseVectorConstReverseIterator

const_reverse_iterator for SparseVector

Constructor & Destructor Documentation

◆ SparseVectorConstReverseIterator() [1/4]

copy constructor

◆ SparseVectorConstReverseIterator() [2/4]

copy constructor from SparseVector::SparseVectorIterator

◆ ~SparseVectorConstReverseIterator()

virtual ~SparseVectorConstReverseIterator ( )
inlinevirtual

destructor

◆ SparseVectorConstReverseIterator() [3/4]

default constructor

◆ SparseVectorConstReverseIterator() [4/4]

SparseVectorConstReverseIterator ( const SparseVector vector,
size_type  position 
)
inlineprotected

detailed constructor

Member Function Documentation

◆ operator!=()

bool operator!= ( const SparseVectorConstReverseIterator other)
inline

◆ operator*()

ValueProxy operator* ( )
inline

dereference operator

References SparseVector< Value >::ValueProxy::ValueProxy().

◆ operator++() [1/2]

SparseVectorConstReverseIterator& operator++ ( )
inline

postincrement operator

◆ operator++() [2/2]

SparseVectorConstReverseIterator operator++ ( int  )
inline

immediate increment operator

◆ operator--() [1/2]

SparseVectorConstReverseIterator& operator-- ( )
inline

postdecrement operator

◆ operator--() [2/2]

SparseVectorConstReverseIterator operator-- ( int  )
inline

immediate decrement operator

◆ operator=()

◆ position()

size_type position ( ) const
inline

find out at what position the iterator is, useful in combination with hop()

◆ rhop()

go to the next nonempty position

Friends And Related Function Documentation

◆ SparseVector< Value >

friend class SparseVector< Value >
friend

Member Data Documentation

◆ position_

size_type position_
mutableprivate

◆ valrit_

reverse_map_const_iterator valrit_
private

◆ vector_

const SparseVector& vector_
private

OpenMS / TOPP release 2.3.0 Documentation generated on Tue Jan 9 2018 18:22:12 using doxygen 1.8.13