All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Types | Public Member Functions | Private Attributes
asio::ip::basic_resolver_entry< InternetProtocol > Class Template Reference

An entry produced by a resolver. More...

#include <basic_resolver_entry.hpp>

List of all members.

Public Types

typedef InternetProtocol::endpoint endpoint_type
 The endpoint type associated with the endpoint entry.
typedef InternetProtocol protocol_type
 The protocol type associated with the endpoint entry.

Public Member Functions

 basic_resolver_entry ()
 Default constructor.
 basic_resolver_entry (const endpoint_type &endpoint, const std::string &host_name, const std::string &service_name)
 Construct with specified endpoint, host name and service name.
endpoint_type endpoint () const
 Get the endpoint associated with the entry.
std::string host_name () const
 Get the host name associated with the entry.
 operator endpoint_type () const
 Convert to the endpoint associated with the entry.
std::string service_name () const
 Get the service name associated with the entry.

Private Attributes

endpoint_type endpoint_
std::string host_name_
std::string service_name_

Detailed Description

template<typename InternetProtocol>
class asio::ip::basic_resolver_entry< InternetProtocol >

An entry produced by a resolver.

The asio::ip::basic_resolver_entry class template describes an entry as returned by a resolver.

Thread Safety
Distinct objects: Safe.
Shared objects: Unsafe.

Definition at line 37 of file basic_resolver_entry.hpp.


Member Typedef Documentation

template<typename InternetProtocol >
typedef InternetProtocol::endpoint asio::ip::basic_resolver_entry< InternetProtocol >::endpoint_type

The endpoint type associated with the endpoint entry.

Definition at line 44 of file basic_resolver_entry.hpp.

template<typename InternetProtocol >
typedef InternetProtocol asio::ip::basic_resolver_entry< InternetProtocol >::protocol_type

The protocol type associated with the endpoint entry.

Definition at line 41 of file basic_resolver_entry.hpp.


Constructor & Destructor Documentation

template<typename InternetProtocol >
asio::ip::basic_resolver_entry< InternetProtocol >::basic_resolver_entry ( ) [inline]

Default constructor.

Definition at line 47 of file basic_resolver_entry.hpp.

template<typename InternetProtocol >
asio::ip::basic_resolver_entry< InternetProtocol >::basic_resolver_entry ( const endpoint_type endpoint,
const std::string &  host_name,
const std::string &  service_name 
) [inline]

Construct with specified endpoint, host name and service name.

Definition at line 52 of file basic_resolver_entry.hpp.


Member Function Documentation

template<typename InternetProtocol >
endpoint_type asio::ip::basic_resolver_entry< InternetProtocol >::endpoint ( ) const [inline]

Get the endpoint associated with the entry.

Definition at line 61 of file basic_resolver_entry.hpp.

template<typename InternetProtocol >
std::string asio::ip::basic_resolver_entry< InternetProtocol >::host_name ( ) const [inline]

Get the host name associated with the entry.

Definition at line 73 of file basic_resolver_entry.hpp.

template<typename InternetProtocol >
asio::ip::basic_resolver_entry< InternetProtocol >::operator endpoint_type ( ) const [inline]

Convert to the endpoint associated with the entry.

Definition at line 67 of file basic_resolver_entry.hpp.

template<typename InternetProtocol >
std::string asio::ip::basic_resolver_entry< InternetProtocol >::service_name ( ) const [inline]

Get the service name associated with the entry.

Definition at line 79 of file basic_resolver_entry.hpp.


Member Data Documentation

template<typename InternetProtocol >
endpoint_type asio::ip::basic_resolver_entry< InternetProtocol >::endpoint_ [private]

Definition at line 85 of file basic_resolver_entry.hpp.

template<typename InternetProtocol >
std::string asio::ip::basic_resolver_entry< InternetProtocol >::host_name_ [private]

Definition at line 86 of file basic_resolver_entry.hpp.

template<typename InternetProtocol >
std::string asio::ip::basic_resolver_entry< InternetProtocol >::service_name_ [private]

Definition at line 87 of file basic_resolver_entry.hpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


Castor
Author(s): Carpe Noctem
autogenerated on Fri Nov 8 2013 11:05:41