Skip to content

asio::ip::basic_resolver_results

A range of entries produced by a resolver.

詳細情報

メンバー

basic_resolver_results()

Default constructor creates an empty range.

asio::ip::basic_resolver_results< InternetProtocol >::basic_resolver_results()

basic_resolver_results()

Copy constructor.

asio::ip::basic_resolver_results< InternetProtocol >::basic_resolver_results(const basic_resolver_results &other)

引数

  • const& other

operator=()

Assignment operator.

basic_resolver_results& asio::ip::basic_resolver_results< InternetProtocol >::operator=(const basic_resolver_results &other)

引数

  • const& other

戻り値

basic_resolver_results&

size()

Get the number of entries in the results range.

size_type asio::ip::basic_resolver_results< InternetProtocol >::size() const ASIO_NOEXCEPT

戻り値

size_type

max_size()

Get the maximum number of entries permitted in a results range.

size_type asio::ip::basic_resolver_results< InternetProtocol >::max_size() const ASIO_NOEXCEPT

戻り値

size_type

empty()

Determine whether the results range is empty.

bool asio::ip::basic_resolver_results< InternetProtocol >::empty() const ASIO_NOEXCEPT

戻り値

bool

begin()

Obtain a begin iterator for the results range.

const_iterator asio::ip::basic_resolver_results< InternetProtocol >::begin() const

戻り値

const_iterator

end()

Obtain an end iterator for the results range.

const_iterator asio::ip::basic_resolver_results< InternetProtocol >::end() const

戻り値

const_iterator

cbegin()

Obtain a begin iterator for the results range.

const_iterator asio::ip::basic_resolver_results< InternetProtocol >::cbegin() const

戻り値

const_iterator

cend()

Obtain an end iterator for the results range.

const_iterator asio::ip::basic_resolver_results< InternetProtocol >::cend() const

戻り値

const_iterator

swap()

Swap the results range with another.

void asio::ip::basic_resolver_results< InternetProtocol >::swap(basic_resolver_results &that) ASIO_NOEXCEPT

引数

  • basic_resolver_results& that

create()

static basic_resolver_results asio::ip::basic_resolver_results< InternetProtocol >::create(asio::detail::addrinfo_type *address_info, const std::string &host_name, const std::string &service_name)

引数

  • asio::detail::addrinfo_type* address_info
  • const& host_name
  • const& service_name

戻り値

basic_resolver_results

create()

static basic_resolver_results asio::ip::basic_resolver_results< InternetProtocol >::create(const endpoint_type &endpoint, const std::string &host_name, const std::string &service_name)

引数

  • const& endpoint
  • const& host_name
  • const& service_name

戻り値

basic_resolver_results

create()

static basic_resolver_results asio::ip::basic_resolver_results< InternetProtocol >::create(EndpointIterator begin, EndpointIterator end, const std::string &host_name, const std::string &service_name)

引数

  • EndpointIterator begin
  • EndpointIterator end
  • const& host_name
  • const& service_name

戻り値

basic_resolver_results