#include "procstream.h"
Public Member Functions | |
procstreambase (void) | |
procstreambase (const std::string &name, int mode) | |
procstreambase (const char *name, int mode) | |
~procstreambase (void) | |
int | close (void) |
int | file_number (void) const |
int | is_open (void) const |
void | open (const std::string &name, int mode) |
void | open (const char *name, int mode) |
pid_t | pid (void) const |
Private Member Functions | |
procstreambase (const procstreambase &) | |
procstreambase & | operator= (const procstreambase &) |
void | pb_init (void) |
Private Attributes | |
octave_procbuf | pb |
Definition at line 33 of file procstream.h.
procstreambase::procstreambase | ( | void | ) | [inline] |
Definition at line 39 of file procstream.h.
procstreambase::procstreambase | ( | const std::string & | name, | |
int | mode | |||
) |
Definition at line 31 of file procstream.cc.
References octave_procbuf::open(), pb, and pb_init().
Definition at line 39 of file procstream.cc.
References octave_procbuf::open(), pb, and pb_init().
procstreambase::~procstreambase | ( | void | ) | [inline] |
Definition at line 45 of file procstream.h.
procstreambase::procstreambase | ( | const procstreambase & | ) | [private] |
int procstreambase::close | ( | void | ) |
Definition at line 57 of file procstream.cc.
References octave_procbuf::close(), is_open(), pb, and octave_procbuf::wait_status().
Referenced by run_command_and_return_output().
int procstreambase::file_number | ( | void | ) | const [inline] |
Definition at line 58 of file procstream.h.
Referenced by run_command_and_return_output().
int procstreambase::is_open | ( | void | ) | const [inline] |
Definition at line 52 of file procstream.h.
Referenced by close().
Reimplemented in iprocstream, oprocstream, and procstream.
Definition at line 48 of file procstream.cc.
References clear(), octave_procbuf::open(), and pb.
void procstreambase::open | ( | const std::string & | name, | |
int | mode | |||
) | [inline] |
Reimplemented in iprocstream, oprocstream, and procstream.
Definition at line 47 of file procstream.h.
References open().
Referenced by procstream::open(), oprocstream::open(), iprocstream::open(), and open().
procstreambase& procstreambase::operator= | ( | const procstreambase & | ) | [private] |
void procstreambase::pb_init | ( | void | ) | [inline, private] |
Definition at line 64 of file procstream.h.
Referenced by procstreambase().
pid_t procstreambase::pid | ( | void | ) | const [inline] |
Definition at line 56 of file procstream.h.
Referenced by clear_external_pager(), do_sync(), and run_command_and_return_output().
octave_procbuf procstreambase::pb [private] |
Definition at line 62 of file procstream.h.
Referenced by close(), open(), and procstreambase().