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.
- Public Member Functions inherited from tlp::Iterator< VALUE >
 Iterator ()
virtual ~Iterator ()

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

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

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