[#BloombergLP-bdlt-Timetable_CompactableTransition]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::Timetable&lowbar;CompactableTransition
:relfileprefix: ../../
:mrdocs:

Time&hyphen;of&hyphen;day state transition with an associated code&period;

== Synopsis

Declared in `&lt;bdlt&lowbar;timetable&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
class Timetable&lowbar;CompactableTransition;
----

== Description

This simply&hyphen;constrained attribute class represents a state transition, implemented as a time for when the transition occurs, and a code to indicate the new state&period;

== Enums

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdlt/Timetable_CompactableTransition/_04enum.adoc[`Unnamed enum`] 
| Constants for compactable transition codes&period;
|===


== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdlt/Timetable_CompactableTransition/2constructor-07.adoc[`Timetable&lowbar;CompactableTransition`]         [.small]#[constructor]#
| Constructors
| xref:BloombergLP/bdlt/Timetable_CompactableTransition/operator_assign.adoc[`operator&equals;`] 
| Assign to this object the value of the specified `rhs` compactable transition, and return a reference providing modifiable access to this object&period;
| xref:BloombergLP/bdlt/Timetable_CompactableTransition/code.adoc[`code`] 
| Return the code of this compactable transition&period;
| xref:BloombergLP/bdlt/Timetable_CompactableTransition/print.adoc[`print`] 
| Format this compactable transition to the specified output `stream`&period;
| xref:BloombergLP/bdlt/Timetable_CompactableTransition/time.adoc[`time`] 
| Return the time of this compactable transition&period;
|===


== Friends

[cols="1,4"]
|===
| Name| Description
| `xref:BloombergLP/bdlt/Timetable_Day.adoc[BloombergLP::bdlt::Timetable&lowbar;Day]`
| Value&hyphen;semantic repository of time&hyphen;indexed state transitions for one day&period;
| `xref:BloombergLP/bdlt/Timetable.adoc[BloombergLP::bdlt::Timetable]`
| Value&hyphen;semantic repository of datetime&hyphen;indexed state transitions&period;
|===

== Non-Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdlt/operator_not_eq-07c6.adoc[`operator!&equals;`]
| Return `true` if `lhs` and `rhs` compactable transitions do not have the same value&period;
| xref:BloombergLP/bdlt/operator_lt-08a.adoc[`operator&lt;`]
| Return `true` if compactable transition `lhs` is less than time `rhs`&period;
| xref:BloombergLP/bdlt/operator_lt-0b.adoc[`operator&lt;`]
| Return `true` if compactable transition `lhs` is less than `rhs`&period;
| xref:BloombergLP/bdlt/operator_eq-06d.adoc[`operator&equals;&equals;`]
| Return `true` if `lhs` and `rhs` compactable transitions have the same value&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
