Realistic 3D camera system
3D camera system components
Main Page
Modules
Namespaces
Classes
Files
File List
File Members
asio-1.10.6
include
asio
ip
host_name.hpp
Go to the documentation of this file.
1
//
2
// ip/host_name.hpp
3
// ~~~~~~~~~~~~~~~~
4
//
5
// Copyright (c) 2003-2015 Christopher M. Kohlhoff (chris at kohlhoff dot com)
6
//
7
// Distributed under the Boost Software License, Version 1.0. (See accompanying
8
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
9
//
10
11
#ifndef ASIO_IP_HOST_NAME_HPP
12
#define ASIO_IP_HOST_NAME_HPP
13
14
#if defined(_MSC_VER) && (_MSC_VER >= 1200)
15
# pragma once
16
#endif // defined(_MSC_VER) && (_MSC_VER >= 1200)
17
18
#include "
asio/detail/config.hpp
"
19
#include <string>
20
#include "
asio/error_code.hpp
"
21
22
#include "
asio/detail/push_options.hpp
"
23
24
namespace
asio
{
25
namespace
ip {
26
28
ASIO_DECL
std::string
host_name
();
29
31
ASIO_DECL
std::string
host_name
(
asio::error_code
& ec);
32
33
}
// namespace ip
34
}
// namespace asio
35
36
#include "
asio/detail/pop_options.hpp
"
37
38
#if defined(ASIO_HEADER_ONLY)
39
# include "
asio/ip/impl/host_name.ipp
"
40
#endif // defined(ASIO_HEADER_ONLY)
41
42
#endif // ASIO_IP_HOST_NAME_HPP
error_code.hpp
config.hpp
push_options.hpp
host_name.ipp
pop_options.hpp
asio::error_code
Class to represent an error code value.
Definition:
error_code.hpp:80
ASIO_DECL
#define ASIO_DECL
Definition:
config.hpp:43
asio::ip::host_name
ASIO_DECL std::string host_name()
Get the current host name.
Definition:
host_name.ipp:29
asio
Definition:
async_result.hpp:23
Generated by
1.8.11