Realistic 3D camera system
3D camera system components
Main Page
Modules
Namespaces
Classes
Files
File List
File Members
asio-1.10.6
src
tests
unit
archetypes
settable_socket_option.hpp
Go to the documentation of this file.
1
//
2
// settable_socket_option.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 ARCHETYPES_SETTABLE_SOCKET_OPTION_HPP
12
#define ARCHETYPES_SETTABLE_SOCKET_OPTION_HPP
13
14
#include <cstddef>
15
16
namespace
archetypes
{
17
18
template
<
typename
Po
int
erType>
19
class
settable_socket_option
20
{
21
public
:
22
template
<
typename
Protocol>
23
int
level
(
const
Protocol&)
const
24
{
25
return
0;
26
}
27
28
template
<
typename
Protocol>
29
int
name
(
const
Protocol&)
const
30
{
31
return
0;
32
}
33
34
template
<
typename
Protocol>
35
const
PointerType*
data
(
const
Protocol&)
const
36
{
37
return
0;
38
}
39
40
template
<
typename
Protocol>
41
std::size_t
size
(
const
Protocol&)
const
42
{
43
return
0;
44
}
45
};
46
47
}
// namespace archetypes
48
49
#endif // ARCHETYPES_SETTABLE_SOCKET_OPTION_HPP
archetypes::settable_socket_option::data
const PointerType * data(const Protocol &) const
Definition:
settable_socket_option.hpp:35
archetypes
Definition:
async_result.hpp:17
archetypes::settable_socket_option
Definition:
settable_socket_option.hpp:19
archetypes::settable_socket_option::name
int name(const Protocol &) const
Definition:
settable_socket_option.hpp:29
archetypes::settable_socket_option::size
std::size_t size(const Protocol &) const
Definition:
settable_socket_option.hpp:41
archetypes::settable_socket_option::level
int level(const Protocol &) const
Definition:
settable_socket_option.hpp:23
Generated by
1.8.11