#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 More... | |
Detailed Description
class Dns::IpsSelector< Iterator >
Makes "which IPs to iterate" decision explicit in range-based for loops. Supported Iterator types are IpsIterator and GoodIpsIterator.
Constructor & Destructor Documentation
◆ IpsSelector()
|
inlineexplicit |
Member Function Documentation
◆ begin()
|
inlinenoexcept |
Definition at line 186 of file ipcache.h.
References Dns::IpsSelector< Iterator >::cbegin().
◆ 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().
◆ cend()
|
inlinenoexcept |
Definition at line 185 of file ipcache.h.
References Dns::IpsSelector< Iterator >::ips_, and Dns::CachedIps::raw().
Referenced by Dns::IpsSelector< Iterator >::end().
◆ end()
|
inlinenoexcept |
Definition at line 187 of file ipcache.h.
References Dns::IpsSelector< Iterator >::cend().
Member Data Documentation
◆ ips_
|
private |
Definition at line 190 of file ipcache.h.
Referenced by Dns::IpsSelector< Iterator >::cbegin(), and Dns::IpsSelector< Iterator >::cend().
The documentation for this class was generated from the following file:
- src/ipcache.h