BDE 4.14.0 Production release
|
#include <bdlt_timetable.h>
Public Types | |
typedef TimetableTransition | value_type |
typedef TimetableTransition_Ref * | pointer |
typedef TimetableTransition | reference |
The star operator returns a TimetableTransition by value. | |
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 &) |
Provide read-only, sequential access in increasing (chronological) order to the transitions in a Timetable
object.
See bdlt_timetable
|
inline |
Create a default iterator. Note that the behavior of most methods is undefined when used on a default-constructed 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. The behavior is undefined unless this iterator references a valid transition in the associated timetable.
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. The behavior is undefined unless, on entry, this iterator references a valid transition.
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. The behavior is undefined unless, on entry, this iterator references a valid transition that is not the first transition of the associated timetable.
|
inline |
Return a proxy to the transition referenced by this iterator. The behavior is undefined unless this iterator references a valid transition in the associated timetable.
|
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 |