Classes | Namespaces | Defines
basic_socket_iostream.hpp File Reference
#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"
Include dependency graph for basic_socket_iostream.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_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 Documentation

#define ASIO_PRIVATE_CONNECT_DEF (   z,
  n,
  data 
)
Value:
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 
)
Value:
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.

Definition at line 32 of file basic_socket_iostream.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