Template Class HashMapIterator

Inheritance Relationships

Base Type

Class Documentation

template<typename HandleT, typename ValueT>
class HashMapIterator : public lvr2::AttributeMapHandleIterator<HandleT>

Public Functions

HashMapIterator(typename unordered_map<HandleT, ValueT>::const_iterator iter)
virtual AttributeMapHandleIterator<HandleT> &operator++() final

Advances the iterator once. Using the dereference operator afterwards will yield the next handle.

virtual bool operator==(const AttributeMapHandleIterator<HandleT> &other) const final
virtual bool operator!=(const AttributeMapHandleIterator<HandleT> &other) const final
virtual HandleT operator*() const final

Returns the current handle.

virtual std::unique_ptr<AttributeMapHandleIterator<HandleT>> clone() const final