Value‐semantic repository of time‐indexed state transitions for one day.
Synopsis
Declared in <bdlt_timetable.h>
class Timetable_Day;
Description
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.
Enums
Name |
Description |
Constants for compactable transition codes. |
Member Functions
Name |
Description |
|
Constructors |
Assign the value of |
|
Add or replace a transition at |
|
Return the transition code in effect at the end of this day. |
|
Return the transition code in effect prior to the start of this daily timetable. |
|
Remove all transitions from this daily timetable. |
|
Remove the transition at |
|
Set the initial transition code of this daily timetable to |
|
Return the number of transitions in this daily timetable. |
|
Return the transition code in effect at the specified |
Friends
Name |
Description |
Pass |
|
Return |
|
Return |
|
Return |
|
Provide read‐only, sequential access in increasing (chronological) order to the transitions in a |
Created with MrDocs