asio::basic_socket_iostream< Protocol, StreamSocketService > Class Template Reference

Iostream interface for a socket. More...

#include <basic_socket_iostream.hpp>

List of all members.

Public Member Functions

 basic_socket_iostream ()
 Construct a basic_socket_iostream without establishing a connection.
 BOOST_PP_REPEAT_FROM_TO (1, BOOST_PP_INC(ASIO_SOCKET_IOSTREAM_MAX_ARITY), ASIO_PRIVATE_CTR_DEF, _) BOOST_PP_REPEAT_FROM_TO(1
 BOOST_PP_INC (ASIO_SOCKET_IOSTREAM_MAX_ARITY)
_ void close ()
 Close the connection.
basic_socket_streambuf
< Protocol,
StreamSocketService > * 
rdbuf () const
 Return a pointer to the underlying streambuf.

Public Attributes

 ASIO_PRIVATE_CONNECT_DEF


Detailed Description

template<typename Protocol, typename StreamSocketService = stream_socket_service<Protocol>>
class asio::basic_socket_iostream< Protocol, StreamSocketService >

Iostream interface for a socket.

Definition at line 80 of file basic_socket_iostream.hpp.


Constructor & Destructor Documentation

template<typename Protocol, typename StreamSocketService = stream_socket_service<Protocol>>
asio::basic_socket_iostream< Protocol, StreamSocketService >::basic_socket_iostream (  )  [inline]

Construct a basic_socket_iostream without establishing a connection.

Definition at line 87 of file basic_socket_iostream.hpp.


Member Function Documentation

template<typename Protocol, typename StreamSocketService = stream_socket_service<Protocol>>
asio::basic_socket_iostream< Protocol, StreamSocketService >::BOOST_PP_REPEAT_FROM_TO ( ,
BOOST_PP_INC(ASIO_SOCKET_IOSTREAM_MAX_ARITY)  ,
ASIO_PRIVATE_CTR_DEF  ,
 
)

template<typename Protocol, typename StreamSocketService = stream_socket_service<Protocol>>
asio::basic_socket_iostream< Protocol, StreamSocketService >::BOOST_PP_INC ( ASIO_SOCKET_IOSTREAM_MAX_ARITY   ) 

template<typename Protocol, typename StreamSocketService = stream_socket_service<Protocol>>
_ void asio::basic_socket_iostream< Protocol, StreamSocketService >::close (  )  [inline]

Close the connection.

Type Constraints

Definition at line 124 of file basic_socket_iostream.hpp.

References asio::basic_socket_iostream< Protocol, StreamSocketService >::rdbuf().

template<typename Protocol, typename StreamSocketService = stream_socket_service<Protocol>>
basic_socket_streambuf<Protocol, StreamSocketService>* asio::basic_socket_iostream< Protocol, StreamSocketService >::rdbuf (  )  const [inline]

Return a pointer to the underlying streambuf.

Definition at line 131 of file basic_socket_iostream.hpp.

Referenced by asio::basic_socket_iostream< Protocol, StreamSocketService >::close().


Member Data Documentation

template<typename Protocol, typename StreamSocketService = stream_socket_service<Protocol>>
asio::basic_socket_iostream< Protocol, StreamSocketService >::ASIO_PRIVATE_CONNECT_DEF

Definition at line 120 of file basic_socket_iostream.hpp.


The documentation for this class was generated from the following file:

Generated on Sun May 25 00:21:27 2008 by  doxygen 1.5.6