#include <bdlt_dayofweekset.h>
Implementation of standard bidirectional iterator for DayOfWeekSet. Any modification of a DayOfWeekSet will invalidate any iterators referring to that DayOfWeekSet.
◆ difference_type
◆ iterator_category
◆ pointer
◆ reference
◆ value_type
◆ DayOfWeekSet_Iter() [1/3]
| bdlt::DayOfWeekSet_Iter::DayOfWeekSet_Iter |
( |
| ) |
|
|
inline |
◆ DayOfWeekSet_Iter() [2/3]
| bdlt::DayOfWeekSet_Iter::DayOfWeekSet_Iter |
( |
int |
data, |
|
|
int |
index |
|
) |
| |
Create an iterator using the specified data and index. If index is 1, this iterator references the first valid element of data; if index is 8, then this iterator references one past the last possible element in data. The behavior is undefined unless 0 == (data & 1), index >= 0, and index <= 8.
◆ DayOfWeekSet_Iter() [3/3]
Create an iterator having the value of the specified original iterator.
◆ ~DayOfWeekSet_Iter()
| bdlt::DayOfWeekSet_Iter::~DayOfWeekSet_Iter |
( |
| ) |
|
|
inline |
◆ 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++() [1/2]
Advance this iterator to the next valid data element, and return a reference providing modifiable access to this iterator. If there is no next valid data element, this iterator will be set equal to end().
◆ operator++() [2/2]
Advance this iterator to the next valid data element, and return by value the value of this iterator before it was incremented. If there is no next valid data element, this iterator will be set equal to end().
◆ operator--() [1/2]
Regress this iterator to the previous valid data element, and return a reference providing modifiable access to this iterator. If there is no preceding data element, the value of reverse_iterator(*this) will be rend().
◆ operator--() [2/2]
Regress this iterator to the previous valid data element, and return by value the value of this iterator before it was decremented. If there is no preceding data element, the value of reverse_iterator(*this) will be rend().
◆ operator=()
Assign to this iterator the value of the specified rhs iterator, and return a reference providing modifiable access to this iterator.
◆ 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.
◆ d_data
| unsigned char bdlt::DayOfWeekSet_Iter::d_data |
◆ d_index
| signed char bdlt::DayOfWeekSet_Iter::d_index |
◆ s_dayOfWeekArray
The documentation for this class was generated from the following file: