![]() |
Tulip
6.0.0
Large graphs analysis and drawing
|
#include <FilterIterator.h>
Inheritance diagram for tlp::FilterIterator< TYPE, FILTER >:
Collaboration diagram for tlp::FilterIterator< TYPE, FILTER >:Public Member Functions | |
| FilterIterator (Iterator< TYPE > *it, FILTER filter) | |
| bool | hasNext () |
| TYPE | next () |
Public Member Functions inherited from tlp::Iterator< TYPE > | |
| iterator_t | begin () |
| iterator_t | end () |
Iterator that enables to filter an other Iterator.
| it | the iterator that should be filtered |
| filter | the functor or lambda function that enables to test whether or not an element is filtered |
The functor function should have the following form:
Definition at line 46 of file FilterIterator.h.
|
inlinevirtual |
Tells if the sequence is at its end.
Implements tlp::Iterator< TYPE >.
Definition at line 59 of file FilterIterator.h.
|
inlinevirtual |
Moves the Iterator on the next element.
Implements tlp::Iterator< TYPE >.
Definition at line 54 of file FilterIterator.h.