D:/opendownloadmanager/ODM-1.x/Bittorrent/libtorrent-0.12/include/libtorrent/asio/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"

Go to the source code of this file.

Namespaces

namespace  asio

Classes

class  asio::basic_socket_iostream< Protocol, StreamSocketService >
 Iostream interface for a socket. More...

Defines

#define ASIO_SOCKET_IOSTREAM_MAX_ARITY   5
#define ASIO_PRIVATE_CTR_DEF(z, n, data)
#define ASIO_PRIVATE_CONNECT_DEF(z, n, data)


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 66 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) \
  { \
    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.


Generated on Sun May 25 00:19:40 2008 by  doxygen 1.5.6