Constructors
Synopses
Declared in <bdlt_timetable.h>
Create an empty timetable with unset initial transition code.
explicit
Timetable(bslma::Allocator* basicAllocator = 0);
Create a timetable having the same value as original.
Timetable(
Timetable const& original,
bslma::Allocator* basicAllocator = 0);
Create a timetable with valid range [firstDate .. lastDate].
Timetable(
Date const& firstDate,
Date const& lastDate,
int initialTransitionCode = k_UNSET_TRANSITION_CODE,
bslma::Allocator* basicAllocator = 0);
Parameters
Name |
Description |
basicAllocator |
allocator used to supply memory |
original |
timetable to copy |
firstDate |
first date of the valid range |
lastDate |
last date of the valid range |
initialTransitionCode |
initial transition code |
Created with MrDocs