Implementation of std::ForwardIterator
that iterates all Message entries of an Exception.
Definition at line 337 of file exception.hpp.
#include <exception.hpp>
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) | |
IteratorType (TConstEntry *entry) | |
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 difference_type = integer |
Implementation of std::iterator_traits
.
Definition at line 346 of file exception.hpp.
using iterator_category = std::forward_iterator_tag |
Implementation of std::iterator_traits
.
Definition at line 344 of file exception.hpp.
using pointer = TConstOrMutableMessage* |
Implementation of std::iterator_traits
.
Definition at line 347 of file exception.hpp.
using reference = TConstOrMutableMessage& |
Implementation of std::iterator_traits
.
Definition at line 348 of file exception.hpp.
using value_type = Message |
Implementation of std::iterator_traits
.
Definition at line 345 of file exception.hpp.
|
protected |
The pointer to the actual node.
Definition at line 341 of file exception.hpp.
|
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 361 of file exception.hpp.
|
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 370 of file exception.hpp.
|
inline |
Comparison operator.
other | The iterator to compare ourselves to. |
true
if this and given iterator are not equal, false
otherwise. Definition at line 404 of file exception.hpp.
|
inline |
Retrieves the message that this iterator references.
Definition at line 411 of file exception.hpp.
|
inline |
Prefix increment operator.
Definition at line 378 of file exception.hpp.
|
inline |
Postfix increment operator.
Definition at line 386 of file exception.hpp.
|
inline |
Retrieves the pointer to the message that this iterator references.
Definition at line 418 of file exception.hpp.
|
inline |
Comparison operator.
other | The iterator to compare ourselves to. |
true
if this and given iterator are equal, false
otherwise. Definition at line 396 of file exception.hpp.