[#BloombergLP-bdlt-TimetableTransition] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::TimetableTransition :relfileprefix: ../../ :mrdocs: Datetime‐indexed state transition with an associated code. == Synopsis Declared in `<bdlt_timetable.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class TimetableTransition; ---- == Description 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,4"] |=== | Name| Description | xref:BloombergLP/bdlt/TimetableTransition/_04enum.adoc[`Unnamed enum`] | Constants for timetable transition codes. |=== == Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdlt/TimetableTransition/2constructor-0c.adoc[`TimetableTransition`] [.small]#[constructor]# | Create a transition having the same value as `original`. | xref:BloombergLP/bdlt/TimetableTransition/operator_assign.adoc[`operator=`] | Assign to this object the value of the specified `rhs` timetable transition, and return a reference providing modifiable access to this object. | 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 transition to the specified output `stream`. |=== == 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. | `xref:BloombergLP/bdlt/TimetableTransition_Ref.adoc[BloombergLP::bdlt::TimetableTransition_Ref]` | Proxy reference used by timetable iterator arrow operators. |=== == Non-Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdlt/operator_not_eq-040.adoc[`operator!=`] | Return `true` if `lhs` and `rhs` timetable transitions do not have the same value. | xref:BloombergLP/bdlt/operator_lt-03c.adoc[`operator<`] | Return `true` if timetable transition `lhs` is less than `rhs`. | xref:BloombergLP/bdlt/operator_lt-0e.adoc[`operator<`] | Return `true` if timetable transition `lhs` is less than datetime `rhs`. | xref:BloombergLP/bdlt/operator_eq-013.adoc[`operator==`] | Return `true` if `lhs` and `rhs` timetable transitions have the same value. |=== == Derived Classes [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdlt/TimetableTransition_Ref.adoc[`TimetableTransition_Ref`] | Proxy reference used by timetable iterator arrow operators. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#