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

#include "pager.h"

Inheritance diagram for octave::pager_stream:
Collaboration diagram for octave::pager_stream:

Public Member Functions

 pager_stream (const pager_stream &)=delete
 
 ~pager_stream (void)
 
pager_streamoperator= (const pager_stream &)=delete
 

Static Public Member Functions

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

Protected Member Functions

 pager_stream (void)
 

Private Member Functions

void do_flush_current_contents_to_diary (void)
 
void do_reset (void)
 
void do_set_diary_skip (void)
 

Static Private Member Functions

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

Private Attributes

pager_bufpb
 

Static Private Attributes

static pager_streaminstance = nullptr
 

Detailed Description

Definition at line 57 of file pager.h.

Constructor & Destructor Documentation

◆ pager_stream() [1/2]

octave::pager_stream::pager_stream ( void  )
protected

Definition at line 315 of file pager.cc.

References pb.

Referenced by instance_ok().

◆ pager_stream() [2/2]

octave::pager_stream::pager_stream ( const pager_stream )
delete

◆ ~pager_stream()

octave::pager_stream::~pager_stream ( void  )

Definition at line 322 of file pager.cc.

References pb.

Member Function Documentation

◆ cleanup_instance()

static void octave::pager_stream::cleanup_instance ( void  )
inlinestaticprivate

Definition at line 95 of file pager.h.

Referenced by instance_ok().

◆ do_flush_current_contents_to_diary()

void octave::pager_stream::do_flush_current_contents_to_diary ( void  )
private

Definition at line 361 of file pager.cc.

References octave::pager_buf::flush_current_contents_to_diary(), and pb.

Referenced by flush_current_contents_to_diary().

◆ do_reset()

void octave::pager_stream::do_reset ( void  )
private

Definition at line 375 of file pager.cc.

References pb.

Referenced by reset().

◆ do_set_diary_skip()

void octave::pager_stream::do_set_diary_skip ( void  )
private

Definition at line 368 of file pager.cc.

References pb, and octave::pager_buf::set_diary_skip().

Referenced by set_diary_skip().

◆ flush_current_contents_to_diary()

void octave::pager_stream::flush_current_contents_to_diary ( void  )
static

Definition at line 335 of file pager.cc.

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

Referenced by close_diary_file().

◆ instance_ok()

bool octave::pager_stream::instance_ok ( void  )
staticprivate

◆ operator=()

pager_stream& octave::pager_stream::operator= ( const pager_stream )
delete

◆ reset()

void octave::pager_stream::reset ( void  )
static

Definition at line 354 of file pager.cc.

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

Referenced by octave::base_reader::octave_gets().

◆ set_diary_skip()

void octave::pager_stream::set_diary_skip ( void  )
static

Definition at line 342 of file pager.cc.

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

Referenced by open_diary_file().

◆ stream()

std::ostream & octave::pager_stream::stream ( void  )
static

Definition at line 329 of file pager.cc.

References instance, and instance_ok().

Member Data Documentation

◆ instance

pager_stream * octave::pager_stream::instance = nullptr
staticprivate

Definition at line 91 of file pager.h.

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

◆ pb

pager_buf* octave::pager_stream::pb
private

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