Home C-Bits Package Documentation Project Page

Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

cbits::sockstreambuf Class Reference

#include <sockstreambuf.h>

Collaboration diagram for cbits::sockstreambuf:

[legend]
List of all members.

Public Methods

 sockstreambuf ()
 sockstreambuf (const socket_t h)
 sockstreambuf (Socket *s)
void set_handle (const socket_t h)
 ~sockstreambuf ()

Protected Methods

virtual int underflow ()
virtual int overflow (int c=EOF)

Private Attributes

socket_t _h
Socket_sock
char * _rbuf
char _charbuf [1]

Static Private Attributes

const int DFLT_BUF_SIZE = 1024

Constructor & Destructor Documentation

sockstreambuf::sockstreambuf  
 

sockstreambuf::sockstreambuf const socket_t    h
 

sockstreambuf::sockstreambuf Socket   s
 

sockstreambuf::~sockstreambuf  
 


Member Function Documentation

int sockstreambuf::overflow int    c = EOF [protected, virtual]
 

void sockstreambuf::set_handle const socket_t    h
 

int sockstreambuf::underflow   [protected, virtual]
 


Member Data Documentation

char cbits::sockstreambuf::_charbuf[1] [private]
 

socket_t cbits::sockstreambuf::_h [private]
 

char* cbits::sockstreambuf::_rbuf [private]
 

Socket* cbits::sockstreambuf::_sock [private]
 

const int cbits::sockstreambuf::DFLT_BUF_SIZE = 1024 [static, private]
 


The documentation for this class was generated from the following files:
Generated by
doxygen
Hosted by
SourceForge