This private class is used by the arrow operator of the timetable iterator class. The objects instantiated from this class serve as references to TimetableTransition objects.
| Name | Description |
|---|---|
TimetableTransition | This simply-constrained attribute class represents a state transition, implemented as a datetime for when the transition occurs, and a code to indicate the new state. |
| Name |
|---|
Unnamed enum |
| Name | Description |
|---|---|
TimetableTransition_Ref [constructor] | Constructors |
operator= | Assign to this object the value of the specified rhs timetable transition, and return a reference providing modifiable access to this TimetableTransition_Ref. |
code | Return the code of this transition. |
datetime | Return the datetime of this transition. |
print | Format this object to the specified output stream at the (absolute value of) the optionally specified indentation level and return a reference to the modifiable stream. If level is specified, optionally specify spacesPerLevel, the number of spaces per indentation level for this and all of its nested objects. If level is negative, suppress indentation of the first line. If spacesPerLevel is negative, format the entire output on one line, suppressing all but the initial indentation (as governed by level). If stream is not valid on entry, this operation has no effect. |
| Name | Description |
|---|---|
BloombergLP::bdlt::Timetable_ConstIterator | Provide read-only, sequential access in increasing (chronological) order to the transitions in a Timetable object. |
| Name | Description |
|---|---|
operator!= | Return true if the specified lhs and rhs timetable transitions do not have the same value, and false otherwise. Two timetable transitions do not have the same value if they do not have the same datetime or the same code. |
operator< | Return true if the specified lhs has a value less than the specified rhs, and false otherwise. Timetable transition lhs has a value less than timetable transition rhs if lhs.datetime() < rhs.datetime(), or lhs.datetime() == rhs.datetime() and lhs.code() < rhs.code(). |
operator< | Return true if the specified lhs has a value less than the specified rhs, and false otherwise. Timetable transition lhs has a value less than datetime rhs if lhs.datetime() < rhs. The behavior is undefined unless 24 > rhs.hour(). |
operator== | Return true if the specified lhs and rhs timetable transitions have the same value, and false otherwise. Two timetable transitions have the same value if they have the same datetime and code. |