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

Name

Description

Unnamed enum

Constants for compactable transition codes.

Member Functions

Name

Description

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

Name

Description

BloombergLP::bdlt::Timetable_Day

Value‐semantic repository of time‐indexed state transitions for one day.

BloombergLP::bdlt::Timetable

Value‐semantic repository of datetime‐indexed state transitions.

Non-Member Functions

Name

Description

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.

Created with MrDocs