#include <pfstreamBuf.h>
Public Types | |
| enum | Direction { Input, Output } |
Public Member Functions | |
| PipeStreamBuf (Direction) | |
| virtual | ~PipeStreamBuf (void) |
| void | flush () |
| void | command (const string) |
Protected Member Functions | |
| virtual int | overflow (int c) |
| virtual int | sync (void) |
| virtual int | underflow (void) |
Private Member Functions | |
| void | init_pipe () |
| bool | is_open () const |
| bool | eof_pipe () const |
| bool | open_pipe (const string &cmd) |
| void | close_pipe () |
| size_t | write_pipe (const char *data, size_t len) |
| size_t | read_pipe (char *data, size_t len) |
| void | write_chars (const char *, int, bool) |
Private Attributes | |
| Direction | _dir |
| string | _line_buffer |
| FILE * | _pipe |
|
|
Definition at line 48 of file pfstreamBuf.h. |
|
|
Definition at line 22 of file pfstreamBuf.cxx. References assert, init_pipe(), Input, and Output. |
|
|
Definition at line 41 of file pfstreamBuf.cxx. References close_pipe(), flush(), is_open(), and sync(). |
|
|
Definition at line 221 of file pfstreamBuf.cxx. Referenced by ~PipeStreamBuf(). |
|
|
Definition at line 56 of file pfstreamBuf.cxx. References assert, is_open(), and open_pipe(). |
|
|
Definition at line 194 of file pfstreamBuf.cxx. Referenced by underflow(). |
|
|
Definition at line 49 of file pfstreamBuf.cxx. References _dir, assert, is_open(), Output, and write_chars(). Referenced by ~PipeStreamBuf(). |
|
|
Definition at line 172 of file pfstreamBuf.cxx. Referenced by PipeStreamBuf(). |
|
|
Definition at line 183 of file pfstreamBuf.cxx. Referenced by command(), flush(), overflow(), sync(), and ~PipeStreamBuf(). |
|
|
Definition at line 209 of file pfstreamBuf.cxx. References _dir, _pipe, NULL, and Output. Referenced by command(). |
|
|
Definition at line 61 of file pfstreamBuf.cxx. References _dir, assert, c, is_open(), n, Output, streamsize, and write_chars(). |
|
||||||||||||
|
Definition at line 249 of file pfstreamBuf.cxx. References _pipe, data, and len. Referenced by underflow(). |
|
|
Definition at line 77 of file pfstreamBuf.cxx. References _dir, assert, is_open(), n, Output, streamsize, and write_chars(). Referenced by ~PipeStreamBuf(). |
|
|
Definition at line 95 of file pfstreamBuf.cxx. References _dir, assert, c, eof_pipe(), Input, len, n, read_pipe(), and size_t. |
|
||||||||||||||||
|
Definition at line 133 of file pfstreamBuf.cxx. References _dir, _line_buffer, assert, length, Output, size_t, start, and write_pipe(). Referenced by flush(), overflow(), and sync(). |
|
||||||||||||
|
Definition at line 235 of file pfstreamBuf.cxx. References _pipe, data, len, and size_t. Referenced by write_chars(). |
|
|
Definition at line 69 of file pfstreamBuf.h. Referenced by flush(), open_pipe(), overflow(), sync(), underflow(), and write_chars(). |
|
|
Definition at line 70 of file pfstreamBuf.h. Referenced by write_chars(). |
|
|
Definition at line 73 of file pfstreamBuf.h. Referenced by close_pipe(), eof_pipe(), init_pipe(), is_open(), open_pipe(), read_pipe(), and write_pipe(). |
1.3