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

#include "procstream.h"

Inheritance diagram for procstream:
Collaboration diagram for procstream:

Public Member Functions

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

Private Member Functions

 procstream (const procstream &)
 
procstreamoperator= (const procstream &)
 
void pb_init (void)
 

Private Attributes

octave_procbuf m_pb
 

Detailed Description

Definition at line 151 of file procstream.h.

Constructor & Destructor Documentation

◆ procstream() [1/4]

procstream::procstream ( void  )
inline

Definition at line 157 of file procstream.h.

◆ procstream() [2/4]

procstream::procstream ( const std::string &  name,
int  mode 
)
inline

Definition at line 159 of file procstream.h.

◆ procstream() [3/4]

procstream::procstream ( const char *  name,
int  mode 
)
inline

Definition at line 163 of file procstream.h.

◆ ~procstream()

procstream::~procstream ( void  )
default

◆ procstream() [4/4]

procstream::procstream ( const procstream )
private

Member Function Documentation

◆ close()

int procstreambase::close ( void  )
inherited

◆ file_number()

int procstreambase::file_number ( void  ) const
inlineinherited

Definition at line 65 of file procstream.h.

Referenced by run_command_and_return_output().

◆ is_open()

int procstreambase::is_open ( void  ) const
inlineinherited

Definition at line 59 of file procstream.h.

Referenced by procstreambase::close().

◆ open() [1/2]

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

Definition at line 174 of file procstream.h.

References name, and procstreambase::open().

◆ open() [2/2]

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

Definition at line 169 of file procstream.h.

References name, and procstreambase::open().

◆ operator=()

procstream& procstream::operator= ( const procstream )
private

◆ pb_init()

void procstreambase::pb_init ( void  )
inlineprivateinherited

Definition at line 71 of file procstream.h.

Referenced by procstreambase::procstreambase().

◆ pid()

pid_t procstreambase::pid ( void  ) const
inlineinherited

Member Data Documentation

◆ m_pb

octave_procbuf procstreambase::m_pb
privateinherited

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