#include <basic_iosocketstream.h>
Inheritance diagram for ss::basic_socketstream< _CharT, _Traits >:
Public Types | |
typedef basic_socketbuf< char_type, traits_type > | __streambuf_type |
typedef std::basic_iostream< char_type, traits_type > | __stream_type |
typedef _CharT | char_type |
These are standard types. | |
typedef _Traits | traits_type |
These are standard types. | |
typedef traits_type::int_type | int_type |
These are standard types. | |
typedef traits_type::pos_type | pos_type |
These are standard types. | |
typedef traits_type::off_type | off_type |
These are standard types. | |
Public Member Functions | |
basic_socketstream () | |
Default constructor. | |
basic_socketstream (family __f, style __s) | |
Constructor. | |
virtual | ~basic_socketstream () |
Destructor. | |
bool | is_open () |
Checks if stream is open. | |
template<typename AddressT> | |
void | connect (AddressT &__addr) |
Opens a connection. | |
void | shutdown (shutmode __mode=sockets_base::rw) |
Shuts stream down. | |
__streambuf_type * | rdbuf () const |
The underlying streambuf. | |
__stream_type & | operator>> (flag &__flag) |
__stream_type & | operator<< (flag &__flag) |
Protected Member Functions | |
basic_socketstream (basic_socket::descriptor_t descriptor) | |
Constructor. | |
Protected Attributes | |
__streambuf_type | _M_buffer |
Friends | |
class | basic_listener |
Definition at line 39 of file basic_iosocketstream.h.
|
These are standard types. They permit a standardized way of referring to names of (or names dependant on) the template parameters, which are specific to the implementation. Reimplemented from std::basic_iostream< _CharT, _Traits >. Definition at line 53 of file basic_iosocketstream.h. |
|
These are standard types. They permit a standardized way of referring to names of (or names dependant on) the template parameters, which are specific to the implementation. Reimplemented from std::basic_iostream< _CharT, _Traits >. Definition at line 56 of file basic_iosocketstream.h. |
|
These are standard types. They permit a standardized way of referring to names of (or names dependant on) the template parameters, which are specific to the implementation. Reimplemented from std::basic_iostream< _CharT, _Traits >. Definition at line 58 of file basic_iosocketstream.h. |
|
These are standard types. They permit a standardized way of referring to names of (or names dependant on) the template parameters, which are specific to the implementation. Reimplemented from std::basic_iostream< _CharT, _Traits >. Definition at line 57 of file basic_iosocketstream.h. |
|
These are standard types. They permit a standardized way of referring to names of (or names dependant on) the template parameters, which are specific to the implementation. Reimplemented from std::basic_iostream< _CharT, _Traits >. Definition at line 54 of file basic_iosocketstream.h. |
|
Constructor.
Definition at line 80 of file basic_iosocketstream.h. |
|
Destructor. Does nothing special. Definition at line 89 of file basic_iosocketstream.h. |
|
Constructor. Constructs a socketstream over an existing socket descriptor. Definition at line 158 of file basic_iosocketstream.h. |
|
Opens a connection.
Definition at line 108 of file basic_iosocketstream.h. |
|
Checks if stream is open.
Definition at line 98 of file basic_iosocketstream.h. |
|
Shuts stream down.
Definition at line 124 of file basic_iosocketstream.h. |