Implementation of standard bidirectional iterator for DayOfWeekSet. Any modification of a DayOfWeekSet will invalidate any iterators referring to that DayOfWeekSet.
Declared in <bdlt_dayofweekset.h>
class DayOfWeekSet_Iter;
| Name | Description |
|---|---|
difference_type | Iterator difference type. |
iterator_category | Iterator category for this day-of-week iterator. |
pointer | Iterator pointer type. |
reference | Iterator reference type. |
value_type | Iterator value type. |
| Name | Description |
|---|---|
DayOfWeekSet_Iter [constructor] | Constructors |
~DayOfWeekSet_Iter [destructor] | Destroy this iterator. |
operator= | Assign to this iterator the value of the specified rhs iterator, and return a reference providing modifiable access to this iterator. |
operator* | Return a reference providing non-modifiable access to the day of week value referenced by this iterator. The behavior is undefined unless the iterator refers to a valid day of the week, specifically, the behavior is undefined if *this == end(). |
operator++ | Increment operators |
operator-- | Decrement operators |
| Name | Description |
|---|---|
d_data | Copy of the days-of-week bitmask from the original container. |
d_index | Current position in the iteration; value in [0 .. 8]. |
| Name | Description |
|---|---|
s_dayOfWeekArray | Lookup table mapping iterator indices to day-of-week values. |
| Name | Description |
|---|---|
BloombergLP::bdlt::operator== | Return true if the specified lhs and rhs iterators have the same value, and false otherwise. Two iterators have the same value if they refer to data at the same index position. The behavior is undefined unless lhs and rhs both reference into the same set of data. |
| Name | Description |
|---|---|
operator!= | Return true if the specified lhs and rhs iterators do not have the same value, and false otherwise. Two iterators do not have the same value if they do not refer to data at the same index position. The behavior is undefined unless lhs and rhs both reference into the same set of data. |