Tulip  5.1.0
Large graphs analysis and drawing
Iterator< itType > Struct Template Referenceabstract

#include <Iterator.h>

+ Inheritance diagram for Iterator< itType >:

Public Member Functions

virtual bool hasNext ()=0
virtual itType next ()=0

Detailed Description

template<class itType>
struct Iterator< itType >

Interface for Tulip iterators. Allows basic iteration operations only.

See also

Definition at line 39 of file Iterator.h.

Member Function Documentation

template<class itType>
virtual bool Iterator< itType >::hasNext ( )
pure virtual

Tells if the sequence is at its end.

bool Whether there are more elements to iterate.
template<class itType>
virtual itType Iterator< itType >::next ( )
pure virtual

Moves the Iterator on the next element.

The current element pointed by the Iterator.