|
Squid Web Cache master
|
#include <EnumIterator.h>
Public Types | |
| typedef EnumIterator< EnumType > | iterator |
| typedef ReverseEnumIterator< EnumType > | reverse_iterator |
Public Member Functions | |
| EnumRangeT (EnumType first, EnumType one_past_last) | |
| 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 an enum for range-for expressions
This class requires that the underlying enum values be represented by continuous values of an integral type. Users will usually not rely on this class directly but on the more convenient EnumRange function
Definition at line 157 of file EnumIterator.h.
| typedef EnumIterator<EnumType> EnumRangeT< EnumType >::iterator |
Definition at line 160 of file EnumIterator.h.
| typedef ReverseEnumIterator<EnumType> EnumRangeT< EnumType >::reverse_iterator |
Definition at line 161 of file EnumIterator.h.
|
inline |
Definition at line 162 of file EnumIterator.h.
|
inline |
Definition at line 163 of file EnumIterator.h.
References EnumRangeT< EnumType >::begin_.
Referenced by TestEnumIterator::testBidirectionalIter(), and TestEnumIterator::testForwardIter().
|
inline |
Definition at line 164 of file EnumIterator.h.
References EnumRangeT< EnumType >::end_.
Referenced by TestEnumIterator::testBidirectionalIter().
|
inline |
Definition at line 165 of file EnumIterator.h.
References EnumRangeT< EnumType >::end_.
Referenced by TestEnumIterator::testReverseIter().
|
inline |
Definition at line 166 of file EnumIterator.h.
References EnumRangeT< EnumType >::begin_.
Referenced by TestEnumIterator::testUnsignedEnum().
|
private |
Definition at line 168 of file EnumIterator.h.
Referenced by EnumRangeT< EnumType >::begin(), and EnumRangeT< EnumType >::rend().
|
private |
Definition at line 169 of file EnumIterator.h.
Referenced by EnumRangeT< EnumType >::end(), and EnumRangeT< EnumType >::rbegin().