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

#include "procstream.h"

Inheritance diagram for procstreambase:
Collaboration diagram for procstreambase:

Public Member Functions

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

Private Member Functions

 procstreambase (const procstreambase &)
 
procstreambaseoperator= (const procstreambase &)
 
void pb_init (void)
 

Private Attributes

octave_procbuf pb
 

Detailed Description

Definition at line 36 of file procstream.h.

Constructor & Destructor Documentation

◆ procstreambase() [1/4]

procstreambase::procstreambase ( void  )
inline

Definition at line 42 of file procstream.h.

◆ procstreambase() [2/4]

procstreambase::procstreambase ( const std::string name,
int  mode 
)

Definition at line 31 of file procstream.cc.

References command, mode, octave_procbuf::open(), pb, and pb_init().

◆ procstreambase() [3/4]

procstreambase::procstreambase ( const char *  name,
int  mode 
)

Definition at line 39 of file procstream.cc.

References command, mode, octave_procbuf::open(), pb, and pb_init().

◆ ~procstreambase()

procstreambase::~procstreambase ( void  )
inline

Definition at line 48 of file procstream.h.

◆ procstreambase() [4/4]

procstreambase::procstreambase ( const procstreambase )
private

Member Function Documentation

◆ close()

int procstreambase::close ( void  )

◆ file_number()

int procstreambase::file_number ( void  ) const
inline

Definition at line 61 of file procstream.h.

Referenced by run_command_and_return_output().

◆ is_open()

int procstreambase::is_open ( void  ) const
inline

Definition at line 55 of file procstream.h.

Referenced by close().

◆ open() [1/2]

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

Definition at line 50 of file procstream.h.

References mode, and name.

Referenced by iprocstream::open(), oprocstream::open(), and procstream::open().

◆ open() [2/2]

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

Definition at line 48 of file procstream.cc.

References Array< T >::clear(), command, mode, octave_procbuf::open(), and pb.

◆ operator=()

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

◆ pb_init()

void procstreambase::pb_init ( void  )
inlineprivate

Definition at line 67 of file procstream.h.

Referenced by procstreambase().

◆ pid()

pid_t procstreambase::pid ( void  ) const
inline

Definition at line 59 of file procstream.h.

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

Member Data Documentation

◆ pb

octave_procbuf procstreambase::pb
private

Definition at line 65 of file procstream.h.

Referenced by close(), open(), and procstreambase().


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