23 #if !defined (octave_procstream_h)
24 #define octave_procstream_h 1
30 #include <sys/types.h>
48 void open (
const std::string& name,
int mode)
49 { open (name.c_str (), mode); }
51 void open (
const char *name,
int mode);
53 int is_open (
void)
const {
return pb.is_open (); }
57 pid_t
pid (
void)
const {
return pb.pid (); }
81 iprocstream (
const std::string& name,
int mode = std::ios::in)
89 void open (
const std::string& name,
int mode = std::ios::in)
92 void open (
const char *name,
int mode = std::ios::in)
119 void open (
const std::string& name,
int mode = std::ios::out)
122 void open (
const char *name,
int mode = std::ios::out)
149 void open (
const std::string& name,
int mode)
152 void open (
const char *name,
int mode)
octave_value & operator=(const octave_value &a)
oprocstream(const char *name, int mode=std::ios::out)
void open(const std::string &name, int mode)
void open(const std::string &name, int mode=std::ios::out)
void open(const std::string &name, int mode)
oprocstream(const std::string &name, int mode=std::ios::out)
procstream(const std::string &name, int mode)
void open(const std::string &name, int mode=std::ios::in)
iprocstream(const char *name, int mode=std::ios::in)
procstream(const char *name, int mode)
void open(const char *name, int mode=std::ios::in)
void open(const char *name, int mode=std::ios::out)
void open(const char *name, int mode)
int file_number(void) const
iprocstream(const std::string &name, int mode=std::ios::in)