Dns::IpsSelector< Iterator > Class Template Reference

#include <ipcache.h>

Collaboration diagram for Dns::IpsSelector< Iterator >:

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 CachedIpsips_
 master IP storage we are wrapping More...
 

Detailed Description

template<class Iterator>
class Dns::IpsSelector< Iterator >

Makes "which IPs to iterate" decision explicit in range-based for loops. Supported Iterator types are IpsIterator and GoodIpsIterator.

Definition at line 179 of file ipcache.h.

Constructor & Destructor Documentation

◆ IpsSelector()

template<class Iterator >
Dns::IpsSelector< Iterator >::IpsSelector ( const CachedIps ips)
inlineexplicit

Definition at line 182 of file ipcache.h.

Member Function Documentation

◆ begin()

template<class Iterator >
Iterator Dns::IpsSelector< Iterator >::begin ( ) const
inlinenoexcept

Definition at line 186 of file ipcache.h.

References Dns::IpsSelector< Iterator >::cbegin().

◆ cbegin()

template<class Iterator >
Iterator Dns::IpsSelector< Iterator >::cbegin ( ) const
inlinenoexcept

◆ cend()

template<class Iterator >
Iterator Dns::IpsSelector< Iterator >::cend ( ) const
inlinenoexcept

◆ end()

template<class Iterator >
Iterator Dns::IpsSelector< Iterator >::end ( ) const
inlinenoexcept

Definition at line 187 of file ipcache.h.

References Dns::IpsSelector< Iterator >::cend().

Member Data Documentation

◆ ips_

template<class Iterator >
const CachedIps& Dns::IpsSelector< Iterator >::ips_
private

The documentation for this class was generated from the following file:

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors