Provide read‐only, sequential access in increasing (chronological) order to the holidays in a PackedCalendar object. This class owns an iterator into the bdlc::PackedIntArray storing the holiday offsets of the referenced bdlt::PackedCalendar and a date, d_firstDate, to convert the offsets into dates corresponding to holidays.
Synopsis
Declared in <bdlt_packedcalendar.h>
class PackedCalendar_HolidayConstIterator;
Type Aliases
Name |
Description |
Iterator difference type. |
|
Iterator category for this holiday iterator. |
|
Iterator pointer type. |
|
The star operator returns a |
|
Iterator value type. |
Member Functions
Name |
Description |
|
Create an iterator having the value of the specified |
|
Destroy this object. |
Assign to this iterator the value of the specified |
|
Return a |
|
Advance this iterator to refer to the next holiday in the calendar, and return a reference providing modifiable access to this object. The behavior is undefined unless, on entry, this iterator references a valid holiday. |
|
Regress this iterator to refer to the previous holiday in the calendar, and return a reference providing modifiable access to this object. The behavior is undefined unless, on entry, this iterator references a valid holiday that is not the first holiday in the associated calendar. |
|
Return a date proxy for the holiday referenced by this iterator. |
Friends
Name |
Description |
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