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

#include "procstream.h"

Inheritance diagram for iprocstream:
Collaboration diagram for iprocstream:

Public Member Functions

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

Private Member Functions

 iprocstream (const iprocstream &)
 
iprocstreamoperator= (const iprocstream &)
 
void pb_init (void)
 

Private Attributes

octave_procbuf m_pb
 

Detailed Description

Definition at line 83 of file procstream.h.

Constructor & Destructor Documentation

◆ iprocstream() [1/4]

iprocstream::iprocstream ( void  )
inline

Definition at line 89 of file procstream.h.

◆ iprocstream() [2/4]

iprocstream::iprocstream ( const std::string &  name,
int  mode = std::ios::in 
)
inline

Definition at line 91 of file procstream.h.

◆ iprocstream() [3/4]

iprocstream::iprocstream ( const char *  name,
int  mode = std::ios::in 
)
inline

Definition at line 95 of file procstream.h.

◆ ~iprocstream()

iprocstream::~iprocstream ( void  )
default

◆ iprocstream() [4/4]

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

Definition at line 106 of file procstream.h.

References name, and procstreambase::open().

◆ open() [2/2]

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

Definition at line 101 of file procstream.h.

References name, and procstreambase::open().

◆ operator=()

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