#include <Partial.h>
Public Types | |
typedef BaseIterator::iterator_category | iterator_category |
typedef Breakpoint | value_type |
typedef BaseIterator::difference_type | difference_type |
typedef Breakpoint * | pointer |
typedef Breakpoint & | reference |
Public Member Functions | |
Partial_Iterator (void) | |
Partial_Iterator & | operator++ () |
Partial_Iterator & | operator-- () |
Partial_Iterator | operator++ (int) |
Partial_Iterator | operator-- (int) |
Breakpoint & | operator* (void) const |
Breakpoint * | operator-> (void) const |
Breakpoint & | breakpoint (void) const |
double | time (void) const |
Friends | |
class | Partial |
class | Partial_ConstIterator |
bool | operator== (const Partial_Iterator &lhs, const Partial_Iterator &rhs) |
bool | operator!= (const Partial_Iterator &lhs, const Partial_Iterator &rhs) |
Non-const iterator for the Loris::Partial Breakpoint map. Wraps the non-const iterator for the (time,Breakpoint) pair container Partial::container_type. Partial_Iterator implements a bidirectional iterator interface, and additionally offers time and Breakpoint (reference) access through time() and breakpoint() members.
typedef BaseIterator::difference_type Loris::Partial_Iterator::difference_type |
The type representing the distance between two of these iterators.
typedef BaseIterator::iterator_category Loris::Partial_Iterator::iterator_category |
The iterator category, for copmpatibility with C++ standard library algorithms
The type of a pointer to the type of element that can be accessed through this iterator (Breakpoint *).
The type of a reference to the type of element that can be accessed through this iterator (Breakpoint &).
The type of element that can be accessed through this iterator (Breakpoint).
Loris::Partial_Iterator::Partial_Iterator | ( | void | ) | [inline] |
Construct a new iterator referring to no position in any Partial.
Breakpoint& Loris::Partial_Iterator::breakpoint | ( | void | ) | const [inline] |
Breakpoint accessor.
Breakpoint& Loris::Partial_Iterator::operator* | ( | void | ) | const [inline] |
Dereference operator.
Partial_Iterator Loris::Partial_Iterator::operator++ | ( | int | ) | [inline] |
Post-increment operator - advance the position of the iterator and return a copy of the iterator before it was advanced. The int argument is unused compiler magic.
Partial_Iterator& Loris::Partial_Iterator::operator++ | ( | ) | [inline] |
Pre-increment operator - advance the position of the iterator and return the iterator itself.
Partial_Iterator Loris::Partial_Iterator::operator-- | ( | int | ) | [inline] |
Post-decrement operator - move the position of the iterator back by one and return a copy of the iterator before it was decremented. The int argument is unused compiler magic.
Partial_Iterator& Loris::Partial_Iterator::operator-- | ( | ) | [inline] |
Pre-decrement operator - move the position of the iterator back by one and return the iterator itself.
Breakpoint* Loris::Partial_Iterator::operator-> | ( | void | ) | const [inline] |
Dereference operator.
double Loris::Partial_Iterator::time | ( | void | ) | const [inline] |
Breakpoint accessor.
bool operator!= | ( | const Partial_Iterator & | lhs, | |
const Partial_Iterator & | rhs | |||
) | [friend] |
Inequality comparison operator.
lhs | the iterator on the left side of the operator. | |
rhs | the iterator on the right side of the operator. |
bool operator== | ( | const Partial_Iterator & | lhs, | |
const Partial_Iterator & | rhs | |||
) | [friend] |
Pointer operator.
lhs | the iterator on the left side of the operator. | |
rhs | the iterator on the right side of the operator. |