[#BloombergLP-bdlt-TimetableTransition_Ref] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::TimetableTransition_Ref :relfileprefix: ../../ :mrdocs: 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. == Synopsis Declared in `<bdlt_timetable.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class TimetableTransition_Ref : public xref:BloombergLP/bdlt/TimetableTransition.adoc[TimetableTransition] ---- == Base Classes [cols="1,4"] |=== | Name| Description | `xref:BloombergLP/bdlt/TimetableTransition.adoc[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. |=== == Enums [cols="1"] |=== | Name | xref:BloombergLP/bdlt/TimetableTransition/_04enum.adoc[`Unnamed enum`] |=== == Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdlt/TimetableTransition_Ref/2constructor-07.adoc[`TimetableTransition_Ref`] [.small]#[constructor]# | Constructors | xref:BloombergLP/bdlt/TimetableTransition_Ref/operator_assign-0d.adoc[`operator=`] | Assign to this object the value of the specified `rhs` timetable transition, and return a reference providing modifiable access to this `TimetableTransition_Ref`. | xref:BloombergLP/bdlt/TimetableTransition/code.adoc[`code`] | Return the code of this transition. | xref:BloombergLP/bdlt/TimetableTransition/datetime.adoc[`datetime`] | Return the datetime of this transition. | xref:BloombergLP/bdlt/TimetableTransition/print.adoc[`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. |=== == Friends [cols="1,4"] |=== | Name| Description | `xref:BloombergLP/bdlt/Timetable_ConstIterator.adoc[BloombergLP::bdlt::Timetable_ConstIterator]` | Provide read‐only, sequential access in increasing (chronological) order to the transitions in a `Timetable` object. |=== == Non-Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdlt/operator_not_eq-040.adoc[`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. | xref:BloombergLP/bdlt/operator_lt-03c.adoc[`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()`. | xref:BloombergLP/bdlt/operator_lt-0e.adoc[`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()`. | xref:BloombergLP/bdlt/operator_eq-013.adoc[`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. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#