|
Tulip
5.6.0
Large graphs analysis and drawing
|
20 #ifndef TULIP_CONCATITERATOR_H
21 #define TULIP_CONCATITERATOR_H
23 #include <tulip/Iterator.h>
62 return (itOne->hasNext() || itTwo->hasNext());
This Iterator iterates over the sequence formed by the concatenation of the sequences it is given.
~ConcatIterator() override
Deletes the two iterators it was given at construction.
Iterator< T > * concatIterator(Iterator< T > *itOne, Iterator< T > *itTwo)
Convenient function for creating a ConcatIterator.
ConcatIterator(Iterator< T > *itOne, Iterator< T > *itTwo)
Creates an Iterator that iterates over the concatenation of the two sequences it is given.
bool hasNext() override
Tells if the sequence is at its end.
Interface for Tulip iterators. Allows basic iteration operations only.
T next() override
Moves the Iterator on the next element.