GNU Octave
3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include "History.h"
Public Member Functions | |
HistoryScrollBlockArray (size_t size) | |
virtual | ~HistoryScrollBlockArray () |
virtual void | addCells (const Character a[], int count) |
virtual void | addCellsVector (const QVector< Character > &cells) |
virtual void | addLine (bool previousWrapped=false) |
Character | getCell (int lineno, int colno) |
virtual void | getCells (int lineno, int colno, int count, Character res[]) |
virtual int | getLineLen (int lineno) |
virtual int | getLines () |
const HistoryType & | getType () |
virtual bool | hasScroll () |
virtual bool | isWrappedLine (int lineno) |
Protected Attributes | |
BlockArray | m_blockArray |
HistoryType * | m_histType |
QHash< int, size_t > | m_lineLengths |
HistoryScrollBlockArray::HistoryScrollBlockArray | ( | size_t | size | ) |
Definition at line 458 of file History.cpp.
References m_blockArray, and BlockArray::setHistorySize().
|
virtual |
Definition at line 464 of file History.cpp.
Implements HistoryScroll.
Definition at line 502 of file History.cpp.
References Block::data, ENTRIES, BlockArray::getCurrent(), BlockArray::lastBlock(), m_blockArray, m_lineLengths, BlockArray::newBlock(), and Block::size.
|
inlinevirtualinherited |
Reimplemented in HistoryScrollBuffer.
Definition at line 100 of file History.h.
References HistoryScroll::addCells().
Referenced by Screen::addHistLine().
Implements HistoryScroll.
Definition at line 523 of file History.cpp.
Definition at line 94 of file History.h.
References HistoryScroll::getCells().
|
virtual |
Implements HistoryScroll.
Definition at line 486 of file History.cpp.
References BlockArray::at(), Block::data, ENTRIES, and m_blockArray.
|
virtual |
|
inlineinherited |
Definition at line 112 of file History.h.
References HistoryScroll::m_histType.
Referenced by Screen::getScroll().
|
virtualinherited |
Reimplemented in HistoryScrollNone.
Definition at line 192 of file History.cpp.
Referenced by Screen::hasScroll().
Implements HistoryScroll.
Definition at line 481 of file History.cpp.
|
protected |
Definition at line 242 of file History.h.
Referenced by addCells(), getCells(), and HistoryScrollBlockArray().
|
protectedinherited |
Definition at line 115 of file History.h.
Referenced by HistoryScroll::getType(), and HistoryScroll::~HistoryScroll().
Definition at line 243 of file History.h.
Referenced by addCells(), getLineLen(), and getLines().