BloombergLP::bdlt::Timetable_CompactableTransition

Time-of-day state transition with an associated code.

Synopsis

Declared in <bdlt_timetable.h>

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

NameDescription
Unnamed enum Constants for compactable transition codes.

Member Functions

NameDescription
Timetable_CompactableTransition [constructor]Constructors
operator= Assign to this object the value of the specified rhs compactable transition, and return a reference providing modifiable access to this object.
code Return the code of this compactable transition.
print Format this compactable transition to the specified output stream.
time Return the time of this compactable transition.

Friends

NameDescription
BloombergLP::bdlt::Timetable_DayValue-semantic repository of time-indexed state transitions for one day.
BloombergLP::bdlt::TimetableValue-semantic repository of datetime-indexed state transitions.

Non-Member Functions

NameDescription
operator!=Return true if lhs and rhs compactable transitions do not have the same value.
operator<Return true if compactable transition lhs is less than time rhs.
operator<Return true if compactable transition lhs is less than rhs.
operator==Return true if lhs and rhs compactable transitions have the same value.