#include "asio/detail/push_options.hpp"
#include <boost/preprocessor/arithmetic/inc.hpp>
#include <boost/preprocessor/repetition/enum_binary_params.hpp>
#include <boost/preprocessor/repetition/enum_params.hpp>
#include <boost/preprocessor/repetition/repeat_from_to.hpp>
#include <boost/utility/base_from_member.hpp>
#include "asio/detail/pop_options.hpp"
#include "asio/basic_socket_streambuf.hpp"
#include "asio/stream_socket_service.hpp"
Go to the source code of this file.
Classes | |
class | asio::basic_socket_iostream< Protocol, StreamSocketService > |
Iostream interface for a socket. More... | |
Namespaces | |
namespace | asio |
Defines | |
#define | ASIO_PRIVATE_CONNECT_DEF(z, n, data) |
#define | ASIO_PRIVATE_CTR_DEF(z, n, data) |
#define | ASIO_SOCKET_IOSTREAM_MAX_ARITY 5 |
#define ASIO_PRIVATE_CONNECT_DEF | ( | z, | |
n, | |||
data | |||
) |
template <BOOST_PP_ENUM_PARAMS(n, typename T)> \ void connect(BOOST_PP_ENUM_BINARY_PARAMS(n, T, x)) \ { \ if (rdbuf()->connect(BOOST_PP_ENUM_PARAMS(n, x)) == 0) \ this->setstate(std::ios_base::failbit); \ } \
Definition at line 67 of file basic_socket_iostream.hpp.
#define ASIO_PRIVATE_CTR_DEF | ( | z, | |
n, | |||
data | |||
) |
template <BOOST_PP_ENUM_PARAMS(n, typename T)> \ explicit basic_socket_iostream(BOOST_PP_ENUM_BINARY_PARAMS(n, T, x)) \ : std::basic_iostream<char>(&this->boost::base_from_member< \ basic_socket_streambuf<Protocol, StreamSocketService> >::member) \ { \ tie(this); \ if (rdbuf()->connect(BOOST_PP_ENUM_PARAMS(n, x)) == 0) \ this->setstate(std::ios_base::failbit); \ } \
Definition at line 46 of file basic_socket_iostream.hpp.
#define ASIO_SOCKET_IOSTREAM_MAX_ARITY 5 |
Definition at line 32 of file basic_socket_iostream.hpp.