GNU Octave  8.1.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

procbuf m_pb
 

Detailed Description

Definition at line 120 of file procstream.h.

Constructor & Destructor Documentation

◆ oprocstream() [1/4]

oprocstream::oprocstream ( void  )
inline

Definition at line 126 of file procstream.h.

◆ oprocstream() [2/4]

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

Definition at line 128 of file procstream.h.

◆ oprocstream() [3/4]

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

Definition at line 131 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 67 of file procstream.h.

Referenced by run_command_and_return_output().

◆ is_open()

int procstreambase::is_open ( void  ) const
inlineinherited

Definition at line 61 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 141 of file procstream.h.

References procstreambase::open().

◆ open() [2/2]

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

Definition at line 136 of file procstream.h.

References procstreambase::open().

◆ operator=()

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

◆ pb_init()

void procstreambase::pb_init ( void  )
inlineprivateinherited

Definition at line 73 of file procstream.h.

Referenced by procstreambase::procstreambase().

◆ pid()

pid_t procstreambase::pid ( void  ) const
inlineinherited

Member Data Documentation

◆ m_pb

procbuf procstreambase::m_pb
privateinherited

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