Overview     Modules     Class Hierarchy     Classes     Members  

tlp::StlMapValueIterator< KEY, VALUE > Struct Template Reference

#include <StlIterator.h>

Inheritance diagram for tlp::StlMapValueIterator< KEY, VALUE >:
Collaboration diagram for tlp::StlMapValueIterator< KEY, VALUE >:

List of all members.

Public Member Functions

  • StlMapValueIterator (typename std::map< KEY, VALUE >::const_iterator startIt, typename std::map< KEY, VALUE >::const_iterator endIt)
  • VALUE next ()
    Moves the Iterator on the next element.
  • bool hasNext ()
    Tells if the sequence is at its end.

template<typename KEY, typename VALUE>
struct tlp::StlMapValueIterator< KEY, VALUE >


Constructor & Destructor Documentation

template<typename KEY , typename VALUE >
tlp::StlMapValueIterator< KEY, VALUE >::StlMapValueIterator ( typename std::map< KEY, VALUE >::const_iterator  startIt,
typename std::map< KEY, VALUE >::const_iterator  endIt 
) [inline]

Member Function Documentation

template<typename KEY , typename VALUE >
bool tlp::StlMapValueIterator< KEY, VALUE >::hasNext (  )  [inline, virtual]

Tells if the sequence is at its end.

Returns:
bool Whether there are more elements to iterate on.

Implements tlp::Iterator< VALUE >.

template<typename KEY , typename VALUE >
VALUE tlp::StlMapValueIterator< KEY, VALUE >::next (  )  [inline, virtual]

Moves the Iterator on the next element.

Returns:
The current element pointed by the Iterator.

Implements tlp::Iterator< VALUE >.



Tulip Software by LaBRI Visualization Team    2001 - 2012