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

#include "History.h"

Inheritance diagram for HistoryTypeBlockArray:
Collaboration diagram for HistoryTypeBlockArray:

Public Member Functions

 HistoryTypeBlockArray (size_t size)
 
virtual bool isEnabled () const
 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
 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
 

Protected Attributes

size_t m_size
 

Detailed Description

Definition at line 285 of file History.h.

Constructor & Destructor Documentation

◆ HistoryTypeBlockArray()

HistoryTypeBlockArray::HistoryTypeBlockArray ( size_t  size)

Definition at line 564 of file History.cpp.

Member Function Documentation

◆ isEnabled()

bool HistoryTypeBlockArray::isEnabled ( ) const
virtual

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

Implements HistoryType.

Definition at line 569 of file History.cpp.

◆ isUnlimited()

bool HistoryType::isUnlimited ( ) const
inlineinherited

Returns true if the history size is unlimited.

Definition at line 264 of file History.h.

References HistoryType::maximumLineCount().

◆ maximumLineCount()

int HistoryTypeBlockArray::maximumLineCount ( ) const
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.

Implements HistoryType.

Definition at line 574 of file History.cpp.

References m_size.

◆ scroll()

HistoryScroll * HistoryTypeBlockArray::scroll ( HistoryScroll old) const
virtual

Implements HistoryType.

Definition at line 579 of file History.cpp.

References m_size.

Member Data Documentation

◆ m_size

size_t HistoryTypeBlockArray::m_size
protected

Definition at line 296 of file History.h.

Referenced by maximumLineCount(), and scroll().


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