Implementation of std::ForwardIterator
that iterates all Message entries of an Exception.
Definition at line 330 of file exception.inl.
Public Type Index: | |
using | difference_type = integer |
Implementation of std::iterator_traits . | |
using | iterator_category = std::forward_iterator_tag |
Implementation of std::iterator_traits . | |
using | pointer = TConstOrMutableMessage* |
Implementation of std::iterator_traits . | |
using | reference = TConstOrMutableMessage& |
Implementation of std::iterator_traits . | |
using | value_type = Message |
Implementation of std::iterator_traits . | |
Public Method Index: | |
IteratorType (detail::ExceptionEntry *_p=nullptr) | |
template<typename TConstEntry> requires std::is_const_v<TConstEntry> | |
IteratorType (TConstEntry *entry) | |
template<typename TMutableIterator> requires std::same_as<TMutableIterator, IteratorType<const Message>> | |
IteratorType (TMutableIterator it) | |
bool | operator!= (IteratorType other) const |
TConstOrMutableMessage & | operator* () const |
IteratorType & | operator++ () |
IteratorType | operator++ (int) |
TConstOrMutableMessage * | operator-> () const |
bool | operator== (IteratorType other) const |
Protected Field Index: | |
detail::ExceptionEntry * | p |
The pointer to the actual node. | |
using alib::exceptions::Exception::IteratorType< TConstOrMutableMessage >::difference_type = integer |
Implementation of std::iterator_traits
.
Definition at line 339 of file exception.inl.
using alib::exceptions::Exception::IteratorType< TConstOrMutableMessage >::iterator_category = std::forward_iterator_tag |
Implementation of std::iterator_traits
.
Definition at line 337 of file exception.inl.
using alib::exceptions::Exception::IteratorType< TConstOrMutableMessage >::pointer = TConstOrMutableMessage* |
Implementation of std::iterator_traits
.
Definition at line 340 of file exception.inl.
using alib::exceptions::Exception::IteratorType< TConstOrMutableMessage >::reference = TConstOrMutableMessage& |
Implementation of std::iterator_traits
.
Definition at line 341 of file exception.inl.
using alib::exceptions::Exception::IteratorType< TConstOrMutableMessage >::value_type = Message |
Implementation of std::iterator_traits
.
Definition at line 338 of file exception.inl.
|
protected |
The pointer to the actual node.
Definition at line 334 of file exception.inl.
|
inlineexplicit |
|
inline |
Constructor taking a constant entry pointer. Available for the constant version of this iterator only.
entry | The initial message entry. |
Definition at line 355 of file exception.inl.
|
inline |
Constructor taking a mutable iterator. Available for the constant version of this iterator only.
it | The mutable iterator used to construct this constant one. |
Definition at line 363 of file exception.inl.
|
inline |
Comparison operator.
other | The iterator to compare ourselves to. |
true
if this and given iterator are not equal, false
otherwise. Definition at line 395 of file exception.inl.
|
inline |
Retrieves the message that this iterator references.
Definition at line 402 of file exception.inl.
|
inline |
Prefix increment operator.
Definition at line 369 of file exception.inl.
|
inline |
Postfix increment operator.
Definition at line 377 of file exception.inl.
|
inline |
Retrieves the pointer to the message that this iterator references.
Definition at line 409 of file exception.inl.
|
inline |
Comparison operator.
other | The iterator to compare ourselves to. |
true
if this and given iterator are equal, false
otherwise. Definition at line 387 of file exception.inl.