ROSE 0.11.145.147
|
Forward iterator.
This iterator traverses the elements of the trace in the order they were inserted, returning a label at each step.
#include <Sawyer/Trace.h>
Public Member Functions | |
ConstIterator () | |
Construct iterator point to end of any trace. | |
ConstIterator (const Trace &trace) | |
Construct iterator pointing to first element of the trace, if any. | |
ConstIterator (const ConstIterator &other) | |
Copy constructor. | |
bool | isEnd () const |
Test whether iterator is at the end. | |
size_t | position () const |
Position of iterator within trace. | |
|
inline |
|
inlineexplicit |
Construct iterator pointing to first element of the trace, if any.
Definition at line 307 of file Trace.h.
References Sawyer::Container::Trace< T, IndexTag >::front(), and Sawyer::Container::Trace< T, IndexTag >::isEmpty().
|
inline |
|
inline |
|
inline |