[#BloombergLP-bdlt-TimetableTransition]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::TimetableTransition
:relfileprefix: ../../
:mrdocs:

Datetime&hyphen;indexed 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 TimetableTransition;
----

== Description

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

== Enums

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


== 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`&period;
| xref:BloombergLP/bdlt/TimetableTransition/operator_assign.adoc[`operator&equals;`] 
| Assign to this object the value of the specified `rhs` timetable transition, and return a reference providing modifiable access to this object&period;
| xref:BloombergLP/bdlt/TimetableTransition/code.adoc[`code`] 
| Return the code of this transition&period;
| xref:BloombergLP/bdlt/TimetableTransition/datetime.adoc[`datetime`] 
| Return the datetime of this transition&period;
| xref:BloombergLP/bdlt/TimetableTransition/print.adoc[`print`] 
| Format this transition to the specified output `stream`&period;
|===


== Friends

[cols="1,4"]
|===
| Name| Description
| `xref:BloombergLP/bdlt/Timetable_ConstIterator.adoc[BloombergLP::bdlt::Timetable&lowbar;ConstIterator]`
| Provide read&hyphen;only, sequential access in increasing (chronological) order to the transitions in a `Timetable` object&period;
| `xref:BloombergLP/bdlt/TimetableTransition_Ref.adoc[BloombergLP::bdlt::TimetableTransition&lowbar;Ref]`
| Proxy reference used by timetable iterator arrow operators&period;
|===

== Non-Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdlt/operator_not_eq-040.adoc[`operator!&equals;`]
| Return `true` if `lhs` and `rhs` timetable transitions do not have the same value&period;
| xref:BloombergLP/bdlt/operator_lt-03c.adoc[`operator&lt;`]
| Return `true` if timetable transition `lhs` is less than `rhs`&period;
| xref:BloombergLP/bdlt/operator_lt-0e.adoc[`operator&lt;`]
| Return `true` if timetable transition `lhs` is less than datetime `rhs`&period;
| xref:BloombergLP/bdlt/operator_eq-013.adoc[`operator&equals;&equals;`]
| Return `true` if `lhs` and `rhs` timetable transitions have the same value&period;
|===

== Derived Classes

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdlt/TimetableTransition_Ref.adoc[`TimetableTransition&lowbar;Ref`] 
| Proxy reference used by timetable iterator arrow operators&period;
|===


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