GNU Octave  6.2.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
HistoryType Class Referenceabstract

#include "History.h"

Inheritance diagram for HistoryType:

Public Member Functions

 HistoryType ()
 
virtual ~HistoryType ()
 
virtual bool isEnabled () const =0
 Returns true if the history is enabled ( can store lines of output ) or false otherwise. More...
 
bool isUnlimited () const
 Returns true if the history size is unlimited. More...
 
virtual int maximumLineCount () const =0
 Returns the maximum number of lines which this history type can store or 0 if the history can store an unlimited number of lines. More...
 
virtual HistoryScrollscroll (HistoryScroll *) const =0
 

Detailed Description

Definition at line 250 of file History.h.

Constructor & Destructor Documentation

◆ HistoryType()

HistoryType::HistoryType ( )

Definition at line 532 of file History.cpp.

◆ ~HistoryType()

HistoryType::~HistoryType ( )
virtual

Definition at line 536 of file History.cpp.

Member Function Documentation

◆ isEnabled()

virtual bool HistoryType::isEnabled ( ) const
pure virtual

Returns true if the history is enabled ( can store lines of output ) or false otherwise.

Implemented in HistoryTypeBuffer, HistoryTypeFile, HistoryTypeBlockArray, and HistoryTypeNone.

◆ isUnlimited()

bool HistoryType::isUnlimited ( ) const
inline

Returns true if the history size is unlimited.

Definition at line 264 of file History.h.

References maximumLineCount().

◆ maximumLineCount()

virtual int HistoryType::maximumLineCount ( ) const
pure virtual

Returns the maximum number of lines which this history type can store or 0 if the history can store an unlimited number of lines.

Implemented in HistoryTypeBuffer, HistoryTypeFile, HistoryTypeBlockArray, and HistoryTypeNone.

Referenced by isUnlimited().

◆ scroll()

virtual HistoryScroll* HistoryType::scroll ( HistoryScroll ) const
pure virtual

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