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 | Protected Attributes | List of all members
HistoryScroll Class Referenceabstract

#include "History.h"

Inheritance diagram for HistoryScroll:
Inheritance graph
Collaboration diagram for HistoryScroll:
Collaboration graph

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


Detailed Description

Definition at line 79 of file History.h.

Constructor & Destructor Documentation

HistoryScroll::HistoryScroll ( HistoryType t)

Definition at line 182 of file History.cpp.

HistoryScroll::~HistoryScroll ( )

Definition at line 187 of file History.cpp.

References m_histType.

Member Function Documentation

virtual void HistoryScroll::addCells ( const Character  a[],
int  count 
pure virtual
virtual void HistoryScroll::addCellsVector ( const QVector< Character > &  cells)

Reimplemented in HistoryScrollBuffer.

Definition at line 100 of file History.h.

References addCells().

Referenced by Screen::addHistLine().

virtual void HistoryScroll::addLine ( bool  previousWrapped = false)
pure virtual
Character HistoryScroll::getCell ( int  lineno,
int  colno 

Definition at line 94 of file History.h.

References getCells().

virtual void HistoryScroll::getCells ( int  lineno,
int  colno,
int  count,
Character  res[] 
pure virtual
virtual int HistoryScroll::getLineLen ( int  lineno)
pure virtual
virtual int HistoryScroll::getLines ( )
pure virtual
const HistoryType& HistoryScroll::getType ( )

Definition at line 112 of file History.h.

References m_histType.

Referenced by Screen::getScroll().

bool HistoryScroll::hasScroll ( )

Reimplemented in HistoryScrollNone.

Definition at line 192 of file History.cpp.

Referenced by Screen::hasScroll().

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

Member Data Documentation

HistoryType* HistoryScroll::m_histType

Definition at line 115 of file History.h.

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

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