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

An query to be passed to a resolver. More...

#include <basic_resolver_query.hpp>

Inheritance diagram for asio::ip::basic_resolver_query< InternetProtocol >:
Inheritance graph
[legend]

List of all members.

Public Types

typedef InternetProtocol protocol_type
 The protocol type associated with the endpoint query.

Public Member Functions

 basic_resolver_query (const std::string &service_name, int flags=passive|address_configured)
 Construct with specified service name for any protocol.
 basic_resolver_query (const protocol_type &protocol, const std::string &service_name, int flags=passive|address_configured)
 Construct with specified service name for a given protocol.
 basic_resolver_query (const std::string &host_name, const std::string &service_name, int flags=address_configured)
 Construct with specified host name and service name for any protocol.
 basic_resolver_query (const protocol_type &protocol, const std::string &host_name, const std::string &service_name, int flags=address_configured)
 Construct with specified host name and service name for a given protocol.
const asio::detail::addrinfo_typehints () const
 Get the hints associated with the query.
std::string host_name () const
 Get the host name associated with the query.
std::string service_name () const
 Get the service name associated with the query.

Private Attributes

asio::detail::addrinfo_type hints_
std::string host_name_
std::string service_name_

Detailed Description

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

An query to be passed to a resolver.

The asio::ip::basic_resolver_query class template describes a query that can be passed to a resolver.

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

Definition at line 41 of file basic_resolver_query.hpp.


Member Typedef Documentation

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

The protocol type associated with the endpoint query.

Definition at line 46 of file basic_resolver_query.hpp.


Constructor & Destructor Documentation

template<typename InternetProtocol >
asio::ip::basic_resolver_query< InternetProtocol >::basic_resolver_query ( const std::string &  service_name,
int  flags = passive | address_configured 
) [inline]

Construct with specified service name for any protocol.

Definition at line 49 of file basic_resolver_query.hpp.

template<typename InternetProtocol >
asio::ip::basic_resolver_query< InternetProtocol >::basic_resolver_query ( const protocol_type protocol,
const std::string &  service_name,
int  flags = passive | address_configured 
) [inline]

Construct with specified service name for a given protocol.

Definition at line 67 of file basic_resolver_query.hpp.

template<typename InternetProtocol >
asio::ip::basic_resolver_query< InternetProtocol >::basic_resolver_query ( const std::string &  host_name,
const std::string &  service_name,
int  flags = address_configured 
) [inline]

Construct with specified host name and service name for any protocol.

Definition at line 85 of file basic_resolver_query.hpp.

template<typename InternetProtocol >
asio::ip::basic_resolver_query< InternetProtocol >::basic_resolver_query ( const protocol_type protocol,
const std::string &  host_name,
const std::string &  service_name,
int  flags = address_configured 
) [inline]

Construct with specified host name and service name for a given protocol.

Definition at line 103 of file basic_resolver_query.hpp.


Member Function Documentation

template<typename InternetProtocol >
const asio::detail::addrinfo_type& asio::ip::basic_resolver_query< InternetProtocol >::hints ( ) const [inline]

Get the hints associated with the query.

Definition at line 121 of file basic_resolver_query.hpp.

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

Get the host name associated with the query.

Definition at line 127 of file basic_resolver_query.hpp.

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

Get the service name associated with the query.

Definition at line 133 of file basic_resolver_query.hpp.


Member Data Documentation

template<typename InternetProtocol >
asio::detail::addrinfo_type asio::ip::basic_resolver_query< InternetProtocol >::hints_ [private]

Definition at line 139 of file basic_resolver_query.hpp.

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

Definition at line 140 of file basic_resolver_query.hpp.

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

Definition at line 141 of file basic_resolver_query.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