Public Member Functions | Private Member Functions | Private Attributes

procstreambase Class Reference

#include "procstream.h"

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

List of all members.

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


Constructor & Destructor Documentation

procstreambase::procstreambase ( void   )  [inline]

Definition at line 39 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 45 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 58 of file procstream.h.

Referenced by run_command_and_return_output().

int procstreambase::is_open ( void   )  const [inline]

Definition at line 52 of file procstream.h.

Referenced by close().

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

Reimplemented in iprocstream, oprocstream, and procstream.

Definition at line 48 of file procstream.cc.

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

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

Reimplemented in iprocstream, oprocstream, and procstream.

Definition at line 47 of file procstream.h.

References open().

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

procstreambase& procstreambase::operator= ( const procstreambase  )  [private]
void procstreambase::pb_init ( void   )  [inline, private]

Definition at line 64 of file procstream.h.

Referenced by procstreambase().

pid_t procstreambase::pid ( void   )  const [inline]

Definition at line 56 of file procstream.h.

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


Member Data Documentation

Definition at line 62 of file procstream.h.

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


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines