BloombergLP::bdlt::PackedCalendar_BusinessDayConstIterator

Provide read-only, sequential access in increasing (chronological) order to the business days in a PackedCalendar object.

Synopsis

Declared in <bdlt_packedcalendar.h>

class PackedCalendar_BusinessDayConstIterator;

Type Aliases

NameDescription
difference_type Iterator difference type.
iterator_category Iterator category for this business-day iterator.
pointer Iterator pointer type.
reference The star operator returns a PackedCalendar_DateRef by value.
value_type Iterator value type.

Member Functions

NameDescription
PackedCalendar_BusinessDayConstIterator [constructor]Create an iterator having the value of the specified original iterator.
~PackedCalendar_BusinessDayConstIterator [destructor]Destroy this object.
operator= Assign to this iterator the value of the specified rhs iterator, and return a reference providing modifiable access to this object.
operator* Return a PackedCalendar_DateRef object that contains the date value of the business day referenced by this iterator.
operator++ Advance this iterator to the next business day in the associated calendar.
operator-- Regress this iterator to the previous business day in the associated calendar.
operator-> Return a date proxy for the business day referenced by this iterator.

Friends

NameDescription
BloombergLP::bdlt::operator!=Return true if lhs and rhs do not refer to the same business day.
BloombergLP::bdlt::operator==Return true if lhs and rhs refer to the same business day.
BloombergLP::bdlt::PackedCalendarSpace-efficient, value-semantic repository of weekend and holiday information.

Non-Member Functions

NameDescription
operator++Advance iterator to the next business day and return its previous value.
operator--Regress iterator to the previous business day and return its previous value.