Main Page | Modules | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

ss::basic_pair< _CharT, _Traits > Class Template Reference

Creates a pair of connected sockets ready for I/O. More...

#include <basic_socketstream_pair.h>

List of all members.

Public Types

typedef basic_pair< char_type,
traits_type
__pair_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_pair ()
 Default constructor.
 basic_pair (sockets_base::family __f, sockets_base::style __s)
 Constructor.
 ~basic_pair ()
 Destructor.
__pair_typeone ()
 Selects the first socket.
__pair_typetwo ()
 Selects the second socket.
basic_iosocketstream< char_type,
traits_type
get_iostream ()
 Returns an iosocketstream for the selected socket.
basic_socket get_socket ()
 Returns the selected socket.


Detailed Description

template<typename _CharT, typename _Traits>
class ss::basic_pair< _CharT, _Traits >

Creates a pair of connected sockets ready for I/O.

This is generally useful for communication between parent and child processes.

Definition at line 43 of file basic_socketstream_pair.h.


Member Typedef Documentation

template<typename _CharT, typename _Traits>
typedef _CharT ss::basic_pair< _CharT, _Traits >::char_type
 

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.

Definition at line 54 of file basic_socketstream_pair.h.

template<typename _CharT, typename _Traits>
typedef traits_type::int_type ss::basic_pair< _CharT, _Traits >::int_type
 

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.

Definition at line 57 of file basic_socketstream_pair.h.

template<typename _CharT, typename _Traits>
typedef traits_type::off_type ss::basic_pair< _CharT, _Traits >::off_type
 

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.

Definition at line 59 of file basic_socketstream_pair.h.

template<typename _CharT, typename _Traits>
typedef traits_type::pos_type ss::basic_pair< _CharT, _Traits >::pos_type
 

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.

Definition at line 58 of file basic_socketstream_pair.h.

template<typename _CharT, typename _Traits>
typedef _Traits ss::basic_pair< _CharT, _Traits >::traits_type
 

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.

Definition at line 55 of file basic_socketstream_pair.h.


Constructor & Destructor Documentation

template<typename _CharT, typename _Traits>
ss::basic_pair< _CharT, _Traits >::basic_pair sockets_base::family  __f,
sockets_base::style  __s
[inline]
 

Constructor.

Constructs a pair of the specified family and style.

Definition at line 76 of file basic_socketstream_pair.h.


The documentation for this class was generated from the following file:
Generated on Sat May 21 21:25:51 2005 for Socket Streams Library by  doxygen 1.4.3