GNU Octave  4.4.1
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 (void)
 
 oprocstream (const std::string &name, int mode=std::ios::out)
 
 oprocstream (const char *name, int mode=std::ios::out)
 
 ~oprocstream (void)=default
 
int close (void)
 
int file_number (void) const
 
int is_open (void) const
 
void open (const std::string &name, int mode=std::ios::out)
 
void open (const char *name, int mode=std::ios::out)
 
pid_t pid (void) const
 

Private Member Functions

 oprocstream (const oprocstream &)
 
oprocstreamoperator= (const oprocstream &)
 

Detailed Description

Definition at line 104 of file procstream.h.

Constructor & Destructor Documentation

◆ oprocstream() [1/4]

oprocstream::oprocstream ( void  )
inline

Definition at line 111 of file procstream.h.

◆ oprocstream() [2/4]

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

Definition at line 113 of file procstream.h.

◆ oprocstream() [3/4]

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

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

Referenced by run_command_and_return_output().

◆ is_open()

int procstreambase::is_open ( void  ) const
inlineinherited

Definition at line 55 of file procstream.h.

Referenced by procstreambase::close().

◆ open() [1/2]

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

Definition at line 121 of file procstream.h.

References mode, name, and procstreambase::open().

◆ open() [2/2]

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

Definition at line 124 of file procstream.h.

References mode, name, and procstreambase::open().

◆ operator=()

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

◆ pid()

pid_t procstreambase::pid ( void  ) const
inlineinherited

Definition at line 59 of file procstream.h.

Referenced by clear_external_pager(), do_sync(), and run_command_and_return_output().


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