|
BDE 4.39.x Production Release
|
#include <bdlt_timetable.h>
Provide read-only, sequential access in increasing (chronological) order to the transitions in a Timetable object.
See bdlt_timetable
Public Types | |
| typedef TimetableTransition | value_type |
| typedef TimetableTransition_Ref * | pointer |
| typedef TimetableTransition | reference |
Public Member Functions | |
| Timetable_ConstIterator () | |
| Timetable_ConstIterator (const Timetable_ConstIterator &original) | |
| ~Timetable_ConstIterator ()=default | |
| Timetable_ConstIterator & | operator= (const Timetable_ConstIterator &rhs) |
| Timetable_ConstIterator & | operator++ () |
| Timetable_ConstIterator & | operator-- () |
| TimetableTransition | operator* () const |
| const TimetableTransition_Ref * | operator-> () const |
Friends | |
| class | Timetable |
| bool | operator== (const Timetable_ConstIterator &, const Timetable_ConstIterator &) |
| bool | operator!= (const Timetable_ConstIterator &, const Timetable_ConstIterator &) |
The star operator returns a TimetableTransition by value.
|
inline |
Create a default iterator.
|
inline |
Create an iterator having the value of the specified original iterator.
|
default |
|
inline |
Return, by value, a TimetableTransition object representing the transition referenced by this iterator.
| Timetable_ConstIterator & bdlt::Timetable_ConstIterator::operator++ | ( | ) |
Advance this iterator to refer to the next transition in the associated timetable, and return a reference providing modifiable access to this object.
| Timetable_ConstIterator & bdlt::Timetable_ConstIterator::operator-- | ( | ) |
Regress this iterator to refer to the previous transition in the associated timetable, and return a reference providing modifiable access to this object.
|
inline |
Return a proxy to the transition referenced by this iterator.
|
inline |
Assign to this iterator the value of the specified rhs iterator, and return a reference providing modifiable access to this object.
|
friend |
Return true if the specified lhs and rhs iterators do not have the same value, and false otherwise. Two Timetable_ConstIterator iterators do not have the same value if they do not refer to the same timetable, or do not refer to the same transition.
|
friend |
Return true if the specified lhs and rhs iterators have the same value, and false otherwise. Two Timetable_ConstIterator iterators have the same value if they refer to the same timetable and the same transition.
|
friend |