BDE 4.14.0 Production release
|
#include <bdlt_packedcalendar.h>
Public Types | |
typedef int | value_type |
typedef int | difference_type |
typedef int * | pointer |
typedef int | reference |
The star operator returns an int by value. | |
typedef bsl::bidirectional_iterator_tag | iterator_category |
Public Member Functions | |
PackedCalendar_HolidayCodeConstIterator (const PackedCalendar_HolidayCodeConstIterator &original) | |
~PackedCalendar_HolidayCodeConstIterator () | |
Destroy this object. | |
PackedCalendar_HolidayCodeConstIterator & | operator= (const PackedCalendar_HolidayCodeConstIterator &rhs) |
PackedCalendar_HolidayCodeConstIterator & | operator++ () |
PackedCalendar_HolidayCodeConstIterator & | operator-- () |
int | operator* () const |
Return the holiday code referenced by this iterator. | |
Friends | |
class | PackedCalendar |
bool | operator== (const PackedCalendar_HolidayCodeConstIterator &, const PackedCalendar_HolidayCodeConstIterator &) |
bool | operator!= (const PackedCalendar_HolidayCodeConstIterator &, const PackedCalendar_HolidayCodeConstIterator &) |
bsl::ptrdiff_t | operator- (const PackedCalendar_HolidayCodeConstIterator &, const PackedCalendar_HolidayCodeConstIterator &) |
Provide read-only, sequential access in increasing (numerical) order to the holiday codes in a PackedCalendar
object.
typedef bsl::bidirectional_iterator_tag bdlt::PackedCalendar_HolidayCodeConstIterator::iterator_category |
|
inline |
Create an object having the value of the specified original
iterator.
|
inline |
|
inline |
|
inline |
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.
|
inline |
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.
|
inline |
Assign to this object the value of the specified rhs
iterator, and return a reference providing modifiable access to this object.
|
friend |
Return true
if the specified lhs
and rhs
iterators do not refer to the same element, and false
otherwise. The behavior is undefined unless lhs
and rhs
both reference the same holiday in the same calendar.
|
friend |
Return the number of elements between specified lhs
and rhs
. The behavior is undefined unless lhs
and rhs
refer to codes associated with the same holiday in the same calendar.
|
friend |
Return true
if the specified lhs
and rhs
iterators refers to the same element, and false
otherwise. The behavior is undefined unless lhs
and rhs
both reference the same holiday in the same calendar.
|
friend |