|
Clementine
|
An iterator over the entries produced by a resolver. More...
#include <basic_resolver_iterator.hpp>

Public Types | |
| typedef std::ptrdiff_t | difference_type |
| The type used for the distance between two iterators. | |
| typedef basic_resolver_entry< InternetProtocol > | value_type |
| The type of the value pointed to by the iterator. | |
| typedef const basic_resolver_entry< InternetProtocol > * | pointer |
| The type of the result of applying operator->() to the iterator. | |
| typedef const basic_resolver_entry< InternetProtocol > & | reference |
| The type of the result of applying operator*() to the iterator. | |
| typedef std::forward_iterator_tag | iterator_category |
| The iterator category. | |
Public Member Functions | |
| basic_resolver_iterator () | |
| Default constructor creates an end iterator. | |
| basic_resolver_iterator (const basic_resolver_iterator &other) | |
| Copy constructor. | |
| basic_resolver_iterator & | operator= (const basic_resolver_iterator &other) |
| Assignment operator. | |
| const basic_resolver_entry< InternetProtocol > & | operator* () const |
| Dereference an iterator. | |
| const basic_resolver_entry< InternetProtocol > * | operator-> () const |
| Dereference an iterator. | |
| basic_resolver_iterator & | operator++ () |
| Increment operator (prefix). | |
| basic_resolver_iterator | operator++ (int) |
| Increment operator (postfix). | |
Protected Types | |
| typedef std::vector< basic_resolver_entry< InternetProtocol > > | values_type |
| typedef asio::detail::shared_ptr< values_type > | values_ptr_type |
Protected Member Functions | |
| void | increment () |
| bool | equal (const basic_resolver_iterator &other) const |
| const basic_resolver_entry< InternetProtocol > & | dereference () const |
Protected Attributes | |
| values_ptr_type | values_ |
| std::size_t | index_ |
Friends | |
| bool | operator== (const basic_resolver_iterator &a, const basic_resolver_iterator &b) |
| Test two iterators for equality. | |
| bool | operator!= (const basic_resolver_iterator &a, const basic_resolver_iterator &b) |
| Test two iterators for inequality. | |
An iterator over the entries produced by a resolver.
The asio::ip::basic_resolver_iterator class template is used to define iterators over the results returned by a resolver.
The iterator's value_type, obtained when the iterator is dereferenced, is:
1.8.13