Classes | Namespaces | Defines
basic_socket_streambuf.hpp File Reference
#include "asio/detail/push_options.hpp"
#include <streambuf>
#include <boost/array.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.hpp"
#include "asio/io_service.hpp"
#include "asio/stream_socket_service.hpp"
#include "asio/detail/throw_error.hpp"
Include dependency graph for basic_socket_streambuf.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  asio::basic_socket_streambuf< Protocol, StreamSocketService >
 Iostream streambuf for a socket. More...

Namespaces

namespace  asio

Defines

#define ASIO_PRIVATE_CONNECT_DEF(z, n, data)
#define ASIO_SOCKET_STREAMBUF_MAX_ARITY   5

Define Documentation

#define ASIO_PRIVATE_CONNECT_DEF (   z,
  n,
  data 
)
Value:
template <BOOST_PP_ENUM_PARAMS(n, typename T)> \
  basic_socket_streambuf<Protocol, StreamSocketService>* connect( \
      BOOST_PP_ENUM_BINARY_PARAMS(n, T, x)) \
  { \
    init_buffers(); \
    asio::error_code ec; \
    this->basic_socket<Protocol, StreamSocketService>::close(ec); \
    typedef typename Protocol::resolver_query resolver_query; \
    resolver_query query(BOOST_PP_ENUM_PARAMS(n, x)); \
    resolve_and_connect(query, ec); \
    return !ec ? this : 0; \
  } \

Definition at line 54 of file basic_socket_streambuf.hpp.

Definition at line 36 of file basic_socket_streambuf.hpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


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