|
Squid Web Cache master
|
#include <ipcache.h>
Public Member Functions | |
| IpsSelector (const CachedIps &ips) | |
| Iterator | cbegin () const noexcept |
| Iterator | cend () const noexcept |
| Iterator | begin () const noexcept |
| Iterator | end () const noexcept |
Private Attributes | |
| const CachedIps & | ips_ |
| master IP storage we are wrapping | |
Makes "which IPs to iterate" decision explicit in range-based for loops. Supported Iterator types are IpsIterator and GoodIpsIterator.
|
inlineexplicit |
|
inlinenoexcept |
Definition at line 186 of file ipcache.h.
References Dns::IpsSelector< Iterator >::cbegin().
|
inlinenoexcept |
Definition at line 184 of file ipcache.h.
References Dns::CachedIps::goodPosition, Dns::IpsSelector< Iterator >::ips_, and Dns::CachedIps::raw().
Referenced by Dns::IpsSelector< Iterator >::begin().
|
inlinenoexcept |
Definition at line 185 of file ipcache.h.
References Dns::IpsSelector< Iterator >::ips_, and Dns::CachedIps::raw().
Referenced by Dns::IpsSelector< Iterator >::end().
|
inlinenoexcept |
Definition at line 187 of file ipcache.h.
References Dns::IpsSelector< Iterator >::cend().
|
private |
Definition at line 190 of file ipcache.h.
Referenced by Dns::IpsSelector< Iterator >::cbegin(), and Dns::IpsSelector< Iterator >::cend().