|
Squid Web Cache master
|
#include <EnumIterator.h>
Public Types | |
| typedef EnumIterator< EnumType > | iterator |
| typedef ReverseEnumIterator< EnumType > | reverse_iterator |
Public Member Functions | |
| WholeEnum () | |
| iterator | begin () const |
| iterator | end () const |
| reverse_iterator | rbegin () const |
| reverse_iterator | rend () const |
Private Attributes | |
| EnumType | begin_ |
| EnumType | end_ |
Class expressing a continuous range of a whole enum for range-for expressions
Class for iterating all enum values, from EnumType::enumBegin_ up to, but not including, EnumType::enumEnd_.
This class requires that:
Typical use:
Definition at line 221 of file EnumIterator.h.
|
inherited |
Definition at line 160 of file EnumIterator.h.
|
inherited |
Definition at line 161 of file EnumIterator.h.
|
inline |
Definition at line 224 of file EnumIterator.h.
|
inlineinherited |
Definition at line 163 of file EnumIterator.h.
References EnumRangeT< EnumType >::begin_.
Referenced by TestEnumIterator::testBidirectionalIter(), and TestEnumIterator::testForwardIter().
|
inlineinherited |
Definition at line 164 of file EnumIterator.h.
References EnumRangeT< EnumType >::end_.
Referenced by TestEnumIterator::testBidirectionalIter().
|
inlineinherited |
Definition at line 165 of file EnumIterator.h.
References EnumRangeT< EnumType >::end_.
Referenced by TestEnumIterator::testReverseIter().
|
inlineinherited |
Definition at line 166 of file EnumIterator.h.
References EnumRangeT< EnumType >::begin_.
Referenced by TestEnumIterator::testUnsignedEnum().
|
privateinherited |
Definition at line 168 of file EnumIterator.h.
Referenced by EnumRangeT< EnumType >::begin(), and EnumRangeT< EnumType >::rend().
|
privateinherited |
Definition at line 169 of file EnumIterator.h.
Referenced by EnumRangeT< EnumType >::end(), and EnumRangeT< EnumType >::rbegin().