fdstreambuf Class Reference

#include <fdstream.h>

List of all members.

Public Member Functions

 fdstreambuf (int _fd)

Protected Member Functions

virtual int_type underflow ()
virtual int_type overflow (int_type c)
virtual std::streamsize xsputn (const char *s, std::streamsize num)

Protected Attributes

int fd
char buffer [bufSize+pbSize]

Static Protected Attributes

static const int pbSize = 4
static const int bufSize = 1024


Detailed Description

Definition at line 58 of file fdstream.h.


Constructor & Destructor Documentation

fdstreambuf::fdstreambuf ( int  _fd  )  [inline]

Definition at line 78 of file fdstream.h.

References buffer, and pbSize.


Member Function Documentation

virtual int_type fdstreambuf::overflow ( int_type  c  )  [inline, protected, virtual]

Definition at line 128 of file fdstream.h.

References EOF, fd, and write().

Here is the call graph for this function:

virtual int_type fdstreambuf::underflow (  )  [inline, protected, virtual]

Definition at line 85 of file fdstream.h.

References buffer, bufSize, EOF, fd, pbSize, and read().

Here is the call graph for this function:

virtual std::streamsize fdstreambuf::xsputn ( const char *  s,
std::streamsize  num 
) [inline, protected, virtual]

Definition at line 139 of file fdstream.h.

References fd, and write().

Here is the call graph for this function:


Member Data Documentation

char fdstreambuf::buffer[bufSize+pbSize] [protected]

Definition at line 69 of file fdstream.h.

Referenced by fdstreambuf(), and underflow().

const int fdstreambuf::bufSize = 1024 [static, protected]

Definition at line 68 of file fdstream.h.

Referenced by underflow().

int fdstreambuf::fd [protected]

Definition at line 61 of file fdstream.h.

Referenced by overflow(), underflow(), and xsputn().

const int fdstreambuf::pbSize = 4 [static, protected]

Definition at line 67 of file fdstream.h.

Referenced by fdstreambuf(), and underflow().


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

Generated on Mon Aug 17 00:32:00 2015 for Moses by  doxygen 1.5.9