This class implements a value‐semantic repository of time‐indexed state transitions over one date (this class implements one day of a timetable). A Timetable_Day can be "populated" with state transitions via the addTransition method, and queried for the transition code in effect at a specified time via the transitionCodeInEffect method. Note that, as an optimization for the transitionCodeInEffect method, the transition code in effect before the first possible transition is stored in d_initialTransitionCode.
Synopsis
Declared in <bdlt_timetable.h>
class Timetable_Day;
Enums
Name |
Member Functions
Name |
Description |
|
Constructors |
Assign to this object the value of the specified |
|
Add a transition to this daily timetable at the specified |
|
Return the transition code that is in effect at the end of this daily timetable. Note that if this daily timetable has no transitions, |
|
Return the transition code in effect prior to the start of this daily timetable. |
|
Remove all transitions from this daily timetable. Return |
|
If a transition occurs at the specified |
|
Set the transition code in effect prior to the start of this daily timetable to the specified |
|
Return the number of transitions in this daily timetable. |
|
Return the transition code associated with the latest transition that occurs on or before the specified |
Friends
Name |
Description |
Pass the specified |
|
Return |
|
Return |
|
Return |
|
Provide read‐only, sequential access in increasing (chronological) order to the transitions in a |
Created with MrDocs