#include <pl_fdstream.h>
Inheritance diagram for PLearn::pl_fdstreambuf:
Public Member Functions | |
pl_fdstreambuf (int fd_, int inbufsize) | |
virtual | ~pl_fdstreambuf () |
Protected Member Functions | |
void | reserveInputBuffer (int buflen) |
inline for efficiency | |
virtual int | overflow (int c=EOF) |
virtual int | underflow () |
virtual streamsize | showmanyc () |
not implemented (yet) | |
virtual streamsize | xsputn (const char *s, streamsize n) |
virtual streamsize | xsgetn (char *s, streamsize n) |
virtual streambuf * | setbuf (char *p, int len) |
virtual int | sync () |
Protected Attributes | |
int | fd |
char * | inbuf |
int | inbuf_capacity |
Definition at line 56 of file pl_fdstream.h.
|
Definition at line 54 of file pl_fdstream.cc. References reserveInputBuffer(). |
|
Definition at line 62 of file pl_fdstream.cc. References inbuf. |
|
Definition at line 90 of file pl_fdstream.cc. References fd, and PLearn::write(). |
|
inline for efficiency
Definition at line 66 of file pl_fdstream.h. References inbuf, inbuf_capacity, and reserveInputBuffer(). Referenced by pl_fdstreambuf(), and reserveInputBuffer(). |
|
Definition at line 68 of file pl_fdstream.cc. |
|
not implemented (yet)
Definition at line 78 of file pl_fdstream.cc. |
|
Definition at line 124 of file pl_fdstream.cc. References fd, and PLearn::write(). Referenced by xsputn(). |
|
Definition at line 81 of file pl_fdstream.cc. References fd, inbuf, inbuf_capacity, and PLearn::read(). |
|
Definition at line 156 of file pl_fdstream.cc. |
|
Definition at line 140 of file pl_fdstream.cc. References fd, sync(), and PLearn::write(). |
|
Definition at line 59 of file pl_fdstream.h. Referenced by overflow(), sync(), underflow(), and xsputn(). |
|
Definition at line 60 of file pl_fdstream.h. Referenced by reserveInputBuffer(), underflow(), and ~pl_fdstreambuf(). |
|
Definition at line 61 of file pl_fdstream.h. Referenced by reserveInputBuffer(), and underflow(). |