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 | Static Public Member Functions | Protected Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | Static Private Attributes | List of all members
octave_diary_stream Class Reference

#include "pager.h"

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

Public Member Functions

 ~octave_diary_stream (void)
 

Static Public Member Functions

static void reset (void)
 
static std::ostream & stream (void)
 

Protected Member Functions

 octave_diary_stream (void)
 

Private Member Functions

 octave_diary_stream (const octave_diary_stream &)
 
void do_reset (void)
 
octave_diary_streamoperator= (const octave_diary_stream &)
 

Static Private Member Functions

static void cleanup_instance (void)
 
static bool instance_ok (void)
 

Private Attributes

octave_diary_bufdb
 

Static Private Attributes

static octave_diary_streaminstance = 0
 

Detailed Description

Definition at line 109 of file pager.h.

Constructor & Destructor Documentation

octave_diary_stream::octave_diary_stream ( void  )
protected

Definition at line 394 of file pager.cc.

References db.

Referenced by instance_ok().

octave_diary_stream::~octave_diary_stream ( void  )

Definition at line 401 of file pager.cc.

References db.

octave_diary_stream::octave_diary_stream ( const octave_diary_stream )
private

Member Function Documentation

static void octave_diary_stream::cleanup_instance ( void  )
inlinestaticprivate

Definition at line 133 of file pager.h.

Referenced by instance_ok().

void octave_diary_stream::do_reset ( void  )
private

Definition at line 426 of file pager.cc.

References db.

Referenced by reset().

bool octave_diary_stream::instance_ok ( void  )
staticprivate

Definition at line 435 of file pager.cc.

References singleton_cleanup_list::add(), cleanup_instance(), error(), instance, and octave_diary_stream().

Referenced by reset(), and stream().

octave_diary_stream& octave_diary_stream::operator= ( const octave_diary_stream )
private
void octave_diary_stream::reset ( void  )
static

Definition at line 419 of file pager.cc.

References do_reset(), instance, and instance_ok().

Referenced by get_user_input(), and octave_base_reader::octave_gets().

std::ostream & octave_diary_stream::stream ( void  )
static

Definition at line 408 of file pager.cc.

References instance, and instance_ok().

Member Data Documentation

octave_diary_buf* octave_diary_stream::db
private

Definition at line 135 of file pager.h.

Referenced by do_reset(), octave_diary_stream(), and ~octave_diary_stream().

octave_diary_stream * octave_diary_stream::instance = 0
staticprivate

Definition at line 129 of file pager.h.

Referenced by instance_ok(), reset(), and stream().


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