Dataflow Runtime API  3.1.1.0
imt::base::core::util::LinkedListIterator< LinkedListNode, type > Class Template Reference

LinkedList class iterator. More...

#include <Imt.Base.Core.Util/LinkedListIterator.h>

Detailed Description

template<typename LinkedListNode, iteratorType::IteratorType type = iteratorType::UNIDIRECTIONAL>
class imt::base::core::util::LinkedListIterator< LinkedListNode, type >

LinkedList class iterator.

Some IMT constraints are vioalted with this class

This custom iterator can be used to iterate through objects from the linked list class.

This iterator is aligned to the std iterators, but it has some major differences (see Attentions).

Attention: the end() method points to the last valid element and not to the first invalid item after the last valid element.

Template Parameters
LinkedListNodeNode type used by a LinkedList object
typeof iterator, if bidirectional iteration needed (i.e. when using DOUBLE lists), choose BIDIRECTIONAL

The documentation for this class was generated from the following file: