Provide read‐only, sequential access in increasing (numerical) order to the holiday codes in a PackedCalendar object.
Synopsis
Declared in <bdlt_packedcalendar.h>
class PackedCalendar_HolidayCodeConstIterator;
Type Aliases
Name |
Description |
Iterator difference type. |
|
Iterator category for this holiday‐code iterator. |
|
Iterator pointer type. |
|
The star operator returns an |
|
Iterator value type. |
Member Functions
Name |
Description |
|
Create an object having the value of the specified |
|
Destroy this object. |
Assign to this object the value of the specified |
|
Return the holiday code referenced by this iterator. |
|
Advance this iterator to refer to the next holiday code for the associated date in the associated calendar, and return a reference providing modifiable access to this object. The behavior is undefined unless, on entry, this iterator references a valid holiday code. |
|
Regress this iterator to refer to the previous holiday code for the associated date in the associated calendar, and return a reference providing modifiable access to this object. The behavior is undefined unless, on entry, this iterator references a valid holiday code that is not the first holiday code for the associated date in the calendar. |
Friends
Name |
Description |
Return the number of elements between specified |
|
Return |
|
Return |
|
This class implements a space‐efficient, value‐semantic repository of weekend and holiday information over a valid range of dates. This valid range, |
Non-Member Functions
Name |
Description |
Advance the specified |
|
Regress the specified |
Created with MrDocs