Overview     Modules     Class Hierarchy     Classes     Members  
tlp::StlIterator< VALUE, ITERATOR > Struct Template Reference

#include <StlIterator.h>

Inheritance diagram for tlp::StlIterator< VALUE, ITERATOR >:
Collaboration diagram for tlp::StlIterator< VALUE, ITERATOR >:

List of all members.

Public Member Functions

 StlIterator (const ITERATOR &startIt, 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 VALUE , typename ITERATOR >
tlp::StlIterator< VALUE, ITERATOR >::StlIterator ( const ITERATOR &  startIt,
const ITERATOR &  endIt 
)
inline

Member Function Documentation

template<typename VALUE , typename ITERATOR >
bool tlp::StlIterator< VALUE, ITERATOR >::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 VALUE , typename ITERATOR >
VALUE tlp::StlIterator< VALUE, ITERATOR >::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