Bidirectional iterator over the members of a DayOfWeekSet.

Synopsis

Declared in <bdlt_dayofweekset.h>

class DayOfWeekSet_Iter;

Description

Any modification of a DayOfWeekSet will invalidate any iterators referring to that DayOfWeekSet.

Type Aliases

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.

Member Functions

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 to the day of week this iterator refers to.

operator++

Increment operators

operator‐‐

Decrement operators

Data Members

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].

Static Data Members

Name

Description

s_dayOfWeekArray

Lookup table mapping iterator indices to day‐of‐week values.

Friends

Name

Description

BloombergLP::bdlt::operator==

Return true if the specified lhs and rhs iterators have the same value.

Non-Member Functions

Name

Description

operator!=

Return true if the specified lhs and rhs iterators do not have the same value.

Created with MrDocs