[#BloombergLP-bdlt-Timetable_CompactableTransition] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::Timetable_CompactableTransition :relfileprefix: ../../ :mrdocs: Time‐of‐day state transition with an associated code. == Synopsis Declared in `<bdlt_timetable.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class Timetable_CompactableTransition; ---- == Description This simply‐constrained attribute class represents a state transition, implemented as a time for when the transition occurs, and a code to indicate the new state. == Enums [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdlt/Timetable_CompactableTransition/_04enum.adoc[`Unnamed enum`] | Constants for compactable transition codes. |=== == Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdlt/Timetable_CompactableTransition/2constructor-07.adoc[`Timetable_CompactableTransition`] [.small]#[constructor]# | Constructors | xref:BloombergLP/bdlt/Timetable_CompactableTransition/operator_assign.adoc[`operator=`] | Assign to this object the value of the specified `rhs` compactable transition, and return a reference providing modifiable access to this object. | xref:BloombergLP/bdlt/Timetable_CompactableTransition/code.adoc[`code`] | Return the code of this compactable transition. | xref:BloombergLP/bdlt/Timetable_CompactableTransition/print.adoc[`print`] | Format this compactable transition to the specified output `stream`. | xref:BloombergLP/bdlt/Timetable_CompactableTransition/time.adoc[`time`] | Return the time of this compactable transition. |=== == Friends [cols="1,4"] |=== | Name| Description | `xref:BloombergLP/bdlt/Timetable_Day.adoc[BloombergLP::bdlt::Timetable_Day]` | Value‐semantic repository of time‐indexed state transitions for one day. | `xref:BloombergLP/bdlt/Timetable.adoc[BloombergLP::bdlt::Timetable]` | Value‐semantic repository of datetime‐indexed state transitions. |=== == Non-Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdlt/operator_not_eq-07c6.adoc[`operator!=`] | Return `true` if `lhs` and `rhs` compactable transitions do not have the same value. | xref:BloombergLP/bdlt/operator_lt-08a.adoc[`operator<`] | Return `true` if compactable transition `lhs` is less than time `rhs`. | xref:BloombergLP/bdlt/operator_lt-0b.adoc[`operator<`] | Return `true` if compactable transition `lhs` is less than `rhs`. | xref:BloombergLP/bdlt/operator_eq-06d.adoc[`operator==`] | Return `true` if `lhs` and `rhs` compactable transitions have the same value. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#