#include <Partial.h>
Public Types | |
typedef BaseIterator::iterator_category | iterator_category |
typedef Breakpoint | value_type |
typedef BaseIterator::difference_type | difference_type |
typedef const Breakpoint * | pointer |
typedef const Breakpoint & | reference |
Public Member Functions | |
Partial_ConstIterator (void) | |
Partial_ConstIterator (const Partial_Iterator &other) | |
Partial_ConstIterator & | operator++ () |
Partial_ConstIterator & | operator-- () |
Partial_ConstIterator | operator++ (int) |
Partial_ConstIterator | operator-- (int) |
const Breakpoint & | operator* (void) const |
const Breakpoint * | operator-> (void) const |
const Breakpoint & | breakpoint (void) const |
double | time (void) const |
Friends | |
class | Partial |
bool | operator== (const Partial_ConstIterator &lhs, const Partial_ConstIterator &rhs) |
bool | operator!= (const Partial_ConstIterator &lhs, const Partial_ConstIterator &rhs) |
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_ConstIterator::difference_type |
The type representing the distance between two of these iterators.
typedef BaseIterator::iterator_category Loris::Partial_ConstIterator::iterator_category |
The iterator category, for copmpatibility with C++ standard library algorithms
typedef const Breakpoint* Loris::Partial_ConstIterator::pointer |
The type of a pointer to the type of element that can be accessed through this iterator (const Breakpoint *).
typedef const Breakpoint& Loris::Partial_ConstIterator::reference |
The type of a reference to the type of element that can be accessed through this iterator (const Breakpoint &).
The type of element that can be accessed through this iterator (Breakpoint).
Loris::Partial_ConstIterator::Partial_ConstIterator | ( | void | ) | [inline] |
Construct a new iterator referring to no position in any Partial.
Loris::Partial_ConstIterator::Partial_ConstIterator | ( | const Partial_Iterator & | other | ) | [inline] |
Construct a new const iterator from a non-const iterator.
other | a non-const iterator from which to make a read-only copy. |
const Breakpoint& Loris::Partial_ConstIterator::breakpoint | ( | void | ) | const [inline] |
Breakpoint accessor.
const Breakpoint& Loris::Partial_ConstIterator::operator* | ( | void | ) | const [inline] |
Dereference operator.
Partial_ConstIterator Loris::Partial_ConstIterator::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_ConstIterator& Loris::Partial_ConstIterator::operator++ | ( | ) | [inline] |
Pre-increment operator - advance the position of the iterator and return the iterator itself.
Partial_ConstIterator Loris::Partial_ConstIterator::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_ConstIterator& Loris::Partial_ConstIterator::operator-- | ( | ) | [inline] |
Pre-decrement operator - move the position of the iterator back by one and return the iterator itself.
const Breakpoint* Loris::Partial_ConstIterator::operator-> | ( | void | ) | const [inline] |
Pointer operator.
double Loris::Partial_ConstIterator::time | ( | void | ) | const [inline] |
Time accessor.
bool operator!= | ( | const Partial_ConstIterator & | lhs, | |
const Partial_ConstIterator & | 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_ConstIterator & | lhs, | |
const Partial_ConstIterator & | rhs | |||
) | [friend] |
Equality comparison operator.
lhs | the iterator on the left side of the operator. | |
rhs | the iterator on the right side of the operator. |