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 46 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.

◆ cbegin()

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

Definition at line 184 of file ipcache.h.

References Iterator.

◆ cend()

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

Definition at line 185 of file ipcache.h.

References Iterator.

◆ end()

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

Definition at line 187 of file ipcache.h.

Member Data Documentation

◆ ips_

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

Definition at line 190 of file ipcache.h.


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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors