26 #if ! defined (octave_procstream_h)
27 #define octave_procstream_h 1
29 #include "octave-config.h"
34 #include <sys/types.h>
54 void open (
const std::string& name,
int mode)
56 open (name.c_str (), mode);
59 void open (
const char *name,
int mode);
61 int is_open (
void)
const {
return m_pb.is_open (); }
65 pid_t
pid (
void)
const {
return m_pb.pid (); }
93 iprocstream (
const std::string& name,
int mode = std::ios::in)
103 void open (
const std::string& name,
int mode = std::ios::in)
108 void open (
const char *name,
int mode = std::ios::in)
136 void open (
const std::string& name,
int mode = std::ios::out)
141 void open (
const char *name,
int mode = std::ios::out)
171 void open (
const std::string& name,
int mode)
176 void open (
const char *name,
int mode)
190 #if defined (OCTAVE_PROVIDE_DEPRECATED_SYMBOLS)
192 OCTAVE_DEPRECATED (7,
"use 'octave::procstreambase' instead")
void open(const std::string &name, int mode=std::ios::in)
iprocstream(const iprocstream &)
iprocstream(const std::string &name, int mode=std::ios::in)
iprocstream(const char *name, int mode=std::ios::in)
void open(const char *name, int mode=std::ios::in)
~iprocstream(void)=default
oprocstream(const std::string &name, int mode=std::ios::out)
oprocstream(const char *name, int mode=std::ios::out)
void open(const char *name, int mode=std::ios::out)
~oprocstream(void)=default
void open(const std::string &name, int mode=std::ios::out)
oprocstream(const oprocstream &)
procstream(const procstream &)
procstream(const char *name, int mode)
procstream(const std::string &name, int mode)
~procstream(void)=default
void open(const char *name, int mode)
void open(const std::string &name, int mode)
void open(const std::string &name, int mode)
int file_number(void) const
procstreambase(const procstreambase &)
OCTAVE_BEGIN_NAMESPACE(octave) static octave_value daspk_fcn