Provide read-only, sequential access in increasing (chronological) order to the transitions in a Timetable object.
Declared in <bdlt_timetable.h>
class Timetable_ConstIterator;
| Name | Description |
|---|---|
pointer | |
reference | The star operator returns a TimetableTransition by value. |
value_type |
| Name | Description |
|---|---|
Timetable_ConstIterator [constructor] | Constructors |
operator= | Assign to this iterator the value of the specified rhs iterator, and return a reference providing modifiable access to this object. |
operator* | 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. |
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. |
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. |
operator-> | 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. |
| Name | Description |
|---|---|
BloombergLP::bdlt::operator!= | 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. |
BloombergLP::bdlt::operator== | 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. |
BloombergLP::bdlt::Timetable | This class implements a value-semantic repository of datetime-indexed state transitions over a valid range of dates. This valid range, [firstDate() .. lastDate()], spans the first and last dates of a timetable's accessible contents. A timetable can be "populated" with state transitions via a suite of "add" methods. Note that the behavior of requesting any timetable information for a supplied date whose value is outside the current valid range for that timetable is undefined. |
| Name | Description |
|---|---|
operator++ | Advance the specified iterator to refer to the next transition in the referenced timetable, and return an iterator referring to the original element (before the advancement). The behavior is undefined unless, on entry, iterator references a valid transition. |
operator-- | Regress the specified iterator to refer to the previous transition in the referenced timetable, and return an iterator referring to the original element (before the decrementation). The behavior is undefined unless, on entry, iterator references a valid transition that is not the first transition of the associated timetable. |