Realistic 3D camera system
3D camera system components
|
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. More... | |
typedef basic_resolver_entry< InternetProtocol > | value_type |
The type of the value pointed to by the iterator. More... | |
typedef const basic_resolver_entry< InternetProtocol > * | pointer |
The type of the result of applying operator->() to the iterator. More... | |
typedef const basic_resolver_entry< InternetProtocol > & | reference |
The type of the result of applying operator*() to the iterator. More... | |
typedef std::forward_iterator_tag | iterator_category |
The iterator category. More... | |
Public Member Functions | |
basic_resolver_iterator () | |
Default constructor creates an end iterator. More... | |
const basic_resolver_entry< InternetProtocol > & | operator* () const |
Dereference an iterator. More... | |
const basic_resolver_entry< InternetProtocol > * | operator-> () const |
Dereference an iterator. More... | |
basic_resolver_iterator & | operator++ () |
Increment operator (prefix). More... | |
basic_resolver_iterator | operator++ (int) |
Increment operator (postfix). More... | |
Static Public Member Functions | |
static basic_resolver_iterator | create (asio::detail::addrinfo_type *address_info, const std::string &host_name, const std::string &service_name) |
Create an iterator from an addrinfo list returned by getaddrinfo. More... | |
static basic_resolver_iterator | create (const typename InternetProtocol::endpoint &endpoint, const std::string &host_name, const std::string &service_name) |
Create an iterator from an endpoint, host name and service name. More... | |
template<typename EndpointIterator > | |
static basic_resolver_iterator | create (EndpointIterator begin, EndpointIterator end, const std::string &host_name, const std::string &service_name) |
Create an iterator from a sequence of endpoints, host and service name. More... | |
Friends | |
bool | operator== (const basic_resolver_iterator &a, const basic_resolver_iterator &b) |
Test two iterators for equality. More... | |
bool | operator!= (const basic_resolver_iterator &a, const basic_resolver_iterator &b) |
Test two iterators for inequality. More... | |
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:
Definition at line 51 of file basic_resolver_iterator.hpp.
typedef std::ptrdiff_t asio::ip::basic_resolver_iterator< InternetProtocol >::difference_type |
The type used for the distance between two iterators.
Definition at line 55 of file basic_resolver_iterator.hpp.
typedef std::forward_iterator_tag asio::ip::basic_resolver_iterator< InternetProtocol >::iterator_category |
The iterator category.
Definition at line 67 of file basic_resolver_iterator.hpp.
typedef const basic_resolver_entry<InternetProtocol>* asio::ip::basic_resolver_iterator< InternetProtocol >::pointer |
The type of the result of applying operator->() to the iterator.
Definition at line 61 of file basic_resolver_iterator.hpp.
typedef const basic_resolver_entry<InternetProtocol>& asio::ip::basic_resolver_iterator< InternetProtocol >::reference |
The type of the result of applying operator*() to the iterator.
Definition at line 64 of file basic_resolver_iterator.hpp.
typedef basic_resolver_entry<InternetProtocol> asio::ip::basic_resolver_iterator< InternetProtocol >::value_type |
The type of the value pointed to by the iterator.
Definition at line 58 of file basic_resolver_iterator.hpp.
|
inline |
Default constructor creates an end iterator.
Definition at line 70 of file basic_resolver_iterator.hpp.
|
inlinestatic |
Create an iterator from an addrinfo list returned by getaddrinfo.
Definition at line 76 of file basic_resolver_iterator.hpp.
|
inlinestatic |
Create an iterator from an endpoint, host name and service name.
Definition at line 111 of file basic_resolver_iterator.hpp.
|
inlinestatic |
Create an iterator from a sequence of endpoints, host and service name.
Definition at line 125 of file basic_resolver_iterator.hpp.
|
inline |
Dereference an iterator.
Definition at line 185 of file basic_resolver_iterator.hpp.
|
inline |
Increment operator (prefix).
Definition at line 197 of file basic_resolver_iterator.hpp.
|
inline |
Increment operator (postfix).
Definition at line 204 of file basic_resolver_iterator.hpp.
|
inline |
Dereference an iterator.
Definition at line 191 of file basic_resolver_iterator.hpp.
|
friend |
Test two iterators for inequality.
Definition at line 219 of file basic_resolver_iterator.hpp.
|
friend |
Test two iterators for equality.
Definition at line 212 of file basic_resolver_iterator.hpp.