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

#include "History.h"

Inheritance diagram for HistoryScroll:
Collaboration diagram for HistoryScroll:

Public Member Functions

 HistoryScroll (HistoryType *)
 
virtual ~HistoryScroll ()
 
virtual void addCells (const Character a[], int count)=0
 
virtual void addCellsVector (const QVector< Character > &cells)
 
virtual void addLine (bool previousWrapped=false)=0
 
Character getCell (int lineno, int colno)
 
virtual void getCells (int lineno, int colno, int count, Character res[])=0
 
virtual int getLineLen (int lineno)=0
 
virtual int getLines ()=0
 
const HistoryTypegetType ()
 
virtual bool hasScroll ()
 
virtual bool isWrappedLine (int lineno)=0
 

Protected Attributes

HistoryTypem_histType
 

Detailed Description

Definition at line 79 of file History.h.

Constructor & Destructor Documentation

◆ HistoryScroll()

HistoryScroll::HistoryScroll ( HistoryType t)

Definition at line 183 of file History.cpp.

◆ ~HistoryScroll()

HistoryScroll::~HistoryScroll ( )
virtual

Definition at line 188 of file History.cpp.

References m_histType.

Member Function Documentation

◆ addCells()

virtual void HistoryScroll::addCells ( const Character  a[],
int  count 
)
pure virtual

◆ addCellsVector()

virtual void HistoryScroll::addCellsVector ( const QVector< Character > &  cells)
inlinevirtual

Reimplemented in HistoryScrollBuffer.

Definition at line 100 of file History.h.

References addCells().

Referenced by Screen::addHistLine().

◆ addLine()

virtual void HistoryScroll::addLine ( bool  previousWrapped = false)
pure virtual

◆ getCell()

Character HistoryScroll::getCell ( int  lineno,
int  colno 
)
inline

Definition at line 94 of file History.h.

References getCells().

◆ getCells()

virtual void HistoryScroll::getCells ( int  lineno,
int  colno,
int  count,
Character  res[] 
)
pure virtual

◆ getLineLen()

virtual int HistoryScroll::getLineLen ( int  lineno)
pure virtual

◆ getLines()

◆ getType()

const HistoryType& HistoryScroll::getType ( )
inline

Definition at line 112 of file History.h.

References m_histType.

Referenced by Screen::getScroll().

◆ hasScroll()

bool HistoryScroll::hasScroll ( )
virtual

Reimplemented in HistoryScrollNone.

Definition at line 193 of file History.cpp.

Referenced by Screen::hasScroll().

◆ isWrappedLine()

virtual bool HistoryScroll::isWrappedLine ( int  lineno)
pure virtual

Member Data Documentation

◆ m_histType

HistoryType* HistoryScroll::m_histType
protected

Definition at line 115 of file History.h.

Referenced by ~HistoryScroll(), and getType().


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