ldas-tools-ldasgen  2.5.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
GenericAPI::Net::basic_socketbuf< Char > Class Template Reference

#include <SocketStream.hh>

Inheritance diagram for GenericAPI::Net::basic_socketbuf< Char >:

Public Types

typedef Char char_type
 
typedef std::basic_streambuf
< char_type
buf_type
 
typedef std::basic_ostream
< char_type
stream_type
 
typedef buf_type::int_type int_type
 
typedef std::basic_streambuf
< Char >::traits_type 
traits_type
 

Public Member Functions

 basic_socketbuf ()
 
virtual ~basic_socketbuf ()
 
void set_socket (int sock)
 
int get_socket ()
 

Protected Member Functions

int output_buffer ()
 
virtual int_type overflow (int_type c)
 
virtual int sync ()
 
virtual int_type underflow ()
 

Protected Attributes

char_type obuf [SIZE]
 
char_type ibuf [SIZE]
 
int sock
 

Static Protected Attributes

static const int char_size = sizeof(char_type)
 
static const int SIZE = 128
 

Member Typedef Documentation

template<typename Char>
typedef std::basic_streambuf<char_type> GenericAPI::Net::basic_socketbuf< Char >::buf_type
template<typename Char>
typedef Char GenericAPI::Net::basic_socketbuf< Char >::char_type
template<typename Char>
typedef buf_type::int_type GenericAPI::Net::basic_socketbuf< Char >::int_type
template<typename Char>
typedef std::basic_ostream<char_type> GenericAPI::Net::basic_socketbuf< Char >::stream_type
template<typename Char>
typedef std::basic_streambuf<Char>::traits_type GenericAPI::Net::basic_socketbuf< Char >::traits_type

Constructor & Destructor Documentation

template<typename Char>
GenericAPI::Net::basic_socketbuf< Char >::basic_socketbuf ( )
inline
template<typename Char>
virtual GenericAPI::Net::basic_socketbuf< Char >::~basic_socketbuf ( )
inlinevirtual

Member Function Documentation

template<typename Char>
int GenericAPI::Net::basic_socketbuf< Char >::get_socket ( )
inline
template<typename Char>
int GenericAPI::Net::basic_socketbuf< Char >::output_buffer ( )
inlineprotected
template<typename Char>
virtual int_type GenericAPI::Net::basic_socketbuf< Char >::overflow ( int_type  c)
inlineprotectedvirtual
template<typename Char>
void GenericAPI::Net::basic_socketbuf< Char >::set_socket ( int  sock)
inline
template<typename Char>
virtual int GenericAPI::Net::basic_socketbuf< Char >::sync ( )
inlineprotectedvirtual
template<typename Char>
virtual int_type GenericAPI::Net::basic_socketbuf< Char >::underflow ( )
inlineprotectedvirtual

Member Data Documentation

template<typename Char>
const int GenericAPI::Net::basic_socketbuf< Char >::char_size = sizeof(char_type)
staticprotected
template<typename Char>
char_type GenericAPI::Net::basic_socketbuf< Char >::ibuf[SIZE]
protected
template<typename Char>
char_type GenericAPI::Net::basic_socketbuf< Char >::obuf[SIZE]
protected
template<typename Char>
const int GenericAPI::Net::basic_socketbuf< Char >::SIZE = 128
staticprotected
template<typename Char>
int GenericAPI::Net::basic_socketbuf< Char >::sock
protected

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