Fw/DataStructures/docs/SetEntry.md
SetEntry is an abstract class template
defined in Fw/DataStructures.
It represents an iterator for a set.
SetEntry has the following template parameters.
| Kind | Name | Purpose |
|---|---|---|
typename | T | The type of an element in the set |
SetEntry(const SetEntry<T>& set)
Defined as = delete.
SetEntry()
Use default initialization of members.
virtual ~SetEntry()
Defined as = default.
SetEntry& operator=(const SetEntry<T>& setEntry)
Defined as = delete.
virtual const T& getElement() const = 0
Return a reference to the set element stored in the iterator.
virtual const SetEntry<T>* getNextSetEntry() = 0
Return a pointer to the next iterator for the set, or nullptr if
there is none.