[#BloombergLP-bdlt-PackedCalendar_HolidayCodeConstIterator] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::PackedCalendar_HolidayCodeConstIterator :relfileprefix: ../../ :mrdocs: Provide read‐only, sequential access in increasing (numerical) order to the holiday codes in a `PackedCalendar` object. == Synopsis Declared in `<bdlt_packedcalendar.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class PackedCalendar_HolidayCodeConstIterator; ---- == Type Aliases [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdlt/PackedCalendar_HolidayCodeConstIterator/difference_type.adoc[`difference_type`] | Iterator difference type. | xref:BloombergLP/bdlt/PackedCalendar_HolidayCodeConstIterator/iterator_category.adoc[`iterator_category`] | Iterator category for this holiday‐code iterator. | xref:BloombergLP/bdlt/PackedCalendar_HolidayCodeConstIterator/pointer.adoc[`pointer`] | Iterator pointer type. | xref:BloombergLP/bdlt/PackedCalendar_HolidayCodeConstIterator/reference.adoc[`reference`] | The star operator returns an `int` _by_ _value_. | xref:BloombergLP/bdlt/PackedCalendar_HolidayCodeConstIterator/value_type.adoc[`value_type`] | Iterator value type. |=== == Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdlt/PackedCalendar_HolidayCodeConstIterator/2constructor-02.adoc[`PackedCalendar_HolidayCodeConstIterator`] [.small]#[constructor]# | Create an object having the value of the specified `original` iterator. | xref:BloombergLP/bdlt/PackedCalendar_HolidayCodeConstIterator/2destructor.adoc[`~PackedCalendar_HolidayCodeConstIterator`] [.small]#[destructor]# | Destroy this object. | xref:BloombergLP/bdlt/PackedCalendar_HolidayCodeConstIterator/operator_assign.adoc[`operator=`] | Assign to this object the value of the specified `rhs` iterator, and return a reference providing modifiable access to this object. | xref:BloombergLP/bdlt/PackedCalendar_HolidayCodeConstIterator/operator_star.adoc[`operator*`] | Return the holiday code referenced by this iterator. | xref:BloombergLP/bdlt/PackedCalendar_HolidayCodeConstIterator/operator_inc.adoc[`operator++`] | Advance this iterator to the next holiday code for the associated date. | xref:BloombergLP/bdlt/PackedCalendar_HolidayCodeConstIterator/operator_dec.adoc[`operator‐‐`] | Regress this iterator to the previous holiday code for the associated date. |=== == Friends [cols="1,4"] |=== | Name| Description | `xref:BloombergLP/bdlt/operator_minus-094.adoc[BloombergLP::bdlt::operator‐]` | Return the number of holiday codes between `lhs` and `rhs`. | `xref:BloombergLP/bdlt/operator_not_eq-06b.adoc[BloombergLP::bdlt::operator!=]` | Return `true` if `lhs` and `rhs` do not refer to the same holiday code. | `xref:BloombergLP/bdlt/operator_eq-0a4.adoc[BloombergLP::bdlt::operator==]` | Return `true` if `lhs` and `rhs` refer to the same holiday code. | `xref:BloombergLP/bdlt/PackedCalendar.adoc[BloombergLP::bdlt::PackedCalendar]` | Space‐efficient, value‐semantic repository of weekend and holiday information. |=== == Non-Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdlt/operator_inc-0af.adoc[`operator++`] | Advance `iterator` to the next holiday code and return its previous value. | xref:BloombergLP/bdlt/operator_dec-02.adoc[`operator‐‐`] | Regress `iterator` to the previous holiday code and return its previous value. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#