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

#include "procstream.h"

Inheritance diagram for oprocstream:
Collaboration diagram for oprocstream:

Public Member Functions

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

Private Member Functions

 oprocstream (const oprocstream &)
 
oprocstreamoperator= (const oprocstream &)
 
void pb_init (void)
 

Private Attributes

octave_procbuf m_pb
 

Detailed Description

Definition at line 118 of file procstream.h.

Constructor & Destructor Documentation

◆ oprocstream() [1/4]

oprocstream::oprocstream ( void  )
inline

Definition at line 124 of file procstream.h.

◆ oprocstream() [2/4]

oprocstream::oprocstream ( const std::string &  name,
int  mode = std::ios::out 
)
inline

Definition at line 126 of file procstream.h.

◆ oprocstream() [3/4]

oprocstream::oprocstream ( const char *  name,
int  mode = std::ios::out 
)
inline

Definition at line 129 of file procstream.h.

◆ ~oprocstream()

oprocstream::~oprocstream ( void  )
default

◆ oprocstream() [4/4]

oprocstream::oprocstream ( const oprocstream )
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 oprocstream::open ( const char *  name,
int  mode = std::ios::out 
)
inline

Definition at line 139 of file procstream.h.

References name, and procstreambase::open().

◆ open() [2/2]

void oprocstream::open ( const std::string &  name,
int  mode = std::ios::out 
)
inline

Definition at line 134 of file procstream.h.

References name, and procstreambase::open().

◆ operator=()

oprocstream& oprocstream::operator= ( const oprocstream )
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: