ldas-tools-ldasgen  2.6.3
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_typebuf_type
 
typedef std::basic_ostream< char_typestream_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

◆ buf_type

template<typename Char>
typedef std::basic_streambuf< char_type > GenericAPI::Net::basic_socketbuf< Char >::buf_type

◆ char_type

template<typename Char>
typedef Char GenericAPI::Net::basic_socketbuf< Char >::char_type

◆ int_type

template<typename Char>
typedef buf_type::int_type GenericAPI::Net::basic_socketbuf< Char >::int_type

◆ stream_type

template<typename Char>
typedef std::basic_ostream< char_type > GenericAPI::Net::basic_socketbuf< Char >::stream_type

◆ traits_type

template<typename Char>
typedef std::basic_streambuf< Char >::traits_type GenericAPI::Net::basic_socketbuf< Char >::traits_type

Constructor & Destructor Documentation

◆ basic_socketbuf()

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

◆ ~basic_socketbuf()

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

Member Function Documentation

◆ get_socket()

template<typename Char>
int GenericAPI::Net::basic_socketbuf< Char >::get_socket ( )
inline

◆ output_buffer()

template<typename Char>
int GenericAPI::Net::basic_socketbuf< Char >::output_buffer ( )
inlineprotected

◆ overflow()

template<typename Char>
virtual int_type GenericAPI::Net::basic_socketbuf< Char >::overflow ( int_type  c)
inlineprotectedvirtual

◆ set_socket()

template<typename Char>
void GenericAPI::Net::basic_socketbuf< Char >::set_socket ( int  sock)
inline

◆ sync()

template<typename Char>
virtual int GenericAPI::Net::basic_socketbuf< Char >::sync ( )
inlineprotectedvirtual

◆ underflow()

template<typename Char>
virtual int_type GenericAPI::Net::basic_socketbuf< Char >::underflow ( )
inlineprotectedvirtual

Member Data Documentation

◆ char_size

template<typename Char>
const int GenericAPI::Net::basic_socketbuf< Char >::char_size = sizeof( char_type )
staticprotected

◆ ibuf

template<typename Char>
char_type GenericAPI::Net::basic_socketbuf< Char >::ibuf[SIZE]
protected

◆ obuf

template<typename Char>
char_type GenericAPI::Net::basic_socketbuf< Char >::obuf[SIZE]
protected

◆ SIZE

template<typename Char>
const int GenericAPI::Net::basic_socketbuf< Char >::SIZE = 128
staticprotected

◆ sock

template<typename Char>
int GenericAPI::Net::basic_socketbuf< Char >::sock
protected

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