GNU Octave  4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
procstreambase Class Reference

#include "procstream.h"

Inheritance diagram for procstreambase:
Inheritance graph
[legend]
Collaboration diagram for procstreambase:
Collaboration graph
[legend]

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 34 of file procstream.h.

Constructor & Destructor Documentation

procstreambase::procstreambase ( void  )
inline

Definition at line 40 of file procstream.h.

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

Definition at line 31 of file procstream.cc.

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

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

Definition at line 39 of file procstream.cc.

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

procstreambase::~procstreambase ( void  )
inline

Definition at line 46 of file procstream.h.

procstreambase::procstreambase ( const procstreambase )
private

Member Function Documentation

int procstreambase::close ( void  )
int procstreambase::file_number ( void  ) const
inline

Definition at line 59 of file procstream.h.

Referenced by run_command_and_return_output().

int procstreambase::is_open ( void  ) const
inline

Definition at line 53 of file procstream.h.

Referenced by close().

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

Definition at line 48 of file procstream.h.

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

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

Definition at line 48 of file procstream.cc.

References clear(), octave_procbuf::open(), and pb.

procstreambase& procstreambase::operator= ( const procstreambase )
private
void procstreambase::pb_init ( void  )
inlineprivate

Definition at line 65 of file procstream.h.

Referenced by procstreambase().

pid_t procstreambase::pid ( void  ) const
inline

Definition at line 57 of file procstream.h.

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

Member Data Documentation

octave_procbuf procstreambase::pb
private

Definition at line 63 of file procstream.h.

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


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