GNU Octave  9.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
procstreambase Class Reference

#include "procstream.h"

Inheritance diagram for procstreambase:
iprocstream oprocstream procstream

Public Member Functions

 procstreambase ()
 
 procstreambase (const char *name, int mode)
 
 procstreambase (const std::string &name, int mode)
 
 ~procstreambase ()
 
int close ()
 
int file_number () const
 
int is_open () const
 
void open (const char *name, int mode)
 
void open (const std::string &name, int mode)
 
pid_t pid () const
 

Detailed Description

Definition at line 40 of file procstream.h.

Constructor & Destructor Documentation

◆ procstreambase() [1/3]

procstreambase::procstreambase ( )
inline

Definition at line 46 of file procstream.h.

◆ procstreambase() [2/3]

procstreambase::procstreambase ( const std::string &  name,
int  mode 
)

Definition at line 36 of file procstream.cc.

◆ procstreambase() [3/3]

procstreambase::procstreambase ( const char *  name,
int  mode 
)

Definition at line 44 of file procstream.cc.

References procbuf::open().

◆ ~procstreambase()

procstreambase::~procstreambase ( )
inline

Definition at line 54 of file procstream.h.

Member Function Documentation

◆ close()

int procstreambase::close ( )

Definition at line 62 of file procstream.cc.

References procbuf::close(), is_open(), and procbuf::wait_status().

Referenced by run_command_and_return_output().

◆ file_number()

int procstreambase::file_number ( ) const
inline

Definition at line 69 of file procstream.h.

◆ is_open()

int procstreambase::is_open ( ) const
inline

Definition at line 63 of file procstream.h.

Referenced by close().

◆ open() [1/2]

void procstreambase::open ( const char *  name,
int  mode 
)

Definition at line 53 of file procstream.cc.

References procbuf::open().

◆ open() [2/2]

void procstreambase::open ( const std::string &  name,
int  mode 
)
inline

Definition at line 56 of file procstream.h.

Referenced by procstream::open(), iprocstream::open(), and oprocstream::open().

◆ pid()

pid_t procstreambase::pid ( ) const
inline

Definition at line 67 of file procstream.h.

Referenced by output_system::clear_external_pager().


The documentation for this class was generated from the following files: