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 | List of all members
oprocstream Class Reference

#include "procstream.h"

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

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

Constructor & Destructor Documentation

oprocstream::oprocstream ( void  )
inline

Definition at line 109 of file procstream.h.

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

Definition at line 111 of file procstream.h.

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

Definition at line 114 of file procstream.h.

oprocstream::~oprocstream ( void  )
inline

Definition at line 117 of file procstream.h.

oprocstream::oprocstream ( const oprocstream )
private

Member Function Documentation

int procstreambase::close ( void  )
inherited
int procstreambase::file_number ( void  ) const
inlineinherited

Definition at line 59 of file procstream.h.

Referenced by run_command_and_return_output().

int procstreambase::is_open ( void  ) const
inlineinherited

Definition at line 53 of file procstream.h.

Referenced by procstreambase::close().

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

Definition at line 119 of file procstream.h.

References procstreambase::open().

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

Definition at line 122 of file procstream.h.

References procstreambase::open().

oprocstream& oprocstream::operator= ( const oprocstream )
private
pid_t procstreambase::pid ( void  ) const
inlineinherited

Definition at line 57 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: