#include <DelegatedIterator.h>
Additional Inherited Members | |
Public Types inherited from Stroika::Foundation::Traversal::Iterator< T, ITERATOR_TRAITS > | |
| using | difference_type = typename ITERATOR_TRAITS::difference_type |
| difference_type = typename ITERATOR_TRAITS::difference_type; | |
| using | value_type = typename ITERATOR_TRAITS::value_type |
| value_type = typename ITERATOR_TRAITS::value_type; | |
| using | pointer = typename ITERATOR_TRAITS::pointer |
| pointer = typename ITERATOR_TRAITS::pointer; | |
| using | reference = typename ITERATOR_TRAITS::reference |
| reference = typename ITERATOR_TRAITS::reference; | |
| using | iterator_category = typename ITERATOR_TRAITS::iterator_category |
| iterator_category = typename ITERATOR_TRAITS::iterator_category; | |
Public Member Functions inherited from Stroika::Foundation::Traversal::Iterator< T, ITERATOR_TRAITS > | |
| Iterator (const unique_ptr< IRep > &rep) noexcept | |
| This overload is usually not called directly. Instead, iterators are usually created from a container (eg. Bag<T>::begin()). | |
| nonvirtual Iterator & | operator= (Iterator &&rhs) noexcept |
| Iterators are safely copyable, preserving their current position. Copy-Assigning could throw since it probably involves a Clone() | |
| nonvirtual const T & | operator* () const |
| Return the Current value pointed to by the Iterator<T> (same as Current()) | |
| nonvirtual const value_type * | operator-> () const |
| Return a pointer to the current value pointed to by the Iterator<T> (like Current()) | |
| nonvirtual Iterator & | operator++ () |
| preincrement | |
| nonvirtual bool | operator== (const Iterator &rhs) const |
| Equals () checks if two iterators are equal to one another (point to the same position in the sequence). | |
| nonvirtual const T & | Current () const |
| Returns the value of the current item visited by the Iterator<T>, and is illegal to call if Done() | |
| nonvirtual bool | Done () const |
| Done () means there is nothing left in this iterator (a synonym for (it == container.end ()). | |
| nonvirtual void | reset () |
| Set to done and disassociate with owner. | |
| nonvirtual void | clear () |
| Set to done and disassociate with owner. | |
| nonvirtual IRep & | GetRep () |
| Get a reference to the IRep owned by the iterator. This is an implementation detail, mainly intended for implementors. | |
| nonvirtual const IRep & | ConstGetRep () const |
| Get a reference to the IRep owned by the iterator. This is an implementation detail, mainly intended for implementors. | |
| nonvirtual void | Invariant () const noexcept |
| , does nothing if !qStroika_Foundation_Debug_AssertionsChecked, but if qStroika_Foundation_Debug_AssertionsChecked, checks internal state and asserts in good shape | |
Static Public Member Functions inherited from Stroika::Foundation::Traversal::Iterator< T, ITERATOR_TRAITS > | |
| static constexpr default_sentinel_t | GetEmptyIterator () noexcept |
| Used by someContainer::end () | |
Handy helper to combine (or track) iterators
Definition at line 28 of file DelegatedIterator.h.