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 | |
HistoryScrollFile (const QString &logFileName) | |
virtual | ~HistoryScrollFile () |
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 | |
HistoryType * | m_histType |
Private Member Functions | |
int | startOfLine (int lineno) |
Private Attributes | |
HistoryFile | cells |
HistoryFile | index |
HistoryFile | lineflags |
QString | m_logFileName |
HistoryScrollFile::HistoryScrollFile | ( | const QString & | logFileName | ) |
Definition at line 210 of file History.cpp.
|
virtual |
Definition at line 216 of file History.cpp.
Implements HistoryScroll.
Definition at line 261 of file History.cpp.
References HistoryFile::add(), and cells.
|
inlinevirtualinherited |
Reimplemented in HistoryScrollBuffer.
Definition at line 100 of file History.h.
References HistoryScroll::addCells().
Referenced by Screen::addHistLine().
Implements HistoryScroll.
Definition at line 266 of file History.cpp.
References HistoryFile::add(), cells, index, HistoryFile::isMapped(), HistoryFile::len(), lineflags, and HistoryFile::unmap().
Definition at line 94 of file History.h.
References HistoryScroll::getCells().
Implements HistoryScroll.
Definition at line 256 of file History.cpp.
References cells, HistoryFile::get(), and startOfLine().
|
virtual |
Implements HistoryScroll.
Definition at line 220 of file History.cpp.
References index, and HistoryFile::len().
Referenced by isWrappedLine(), and startOfLine().
|
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 230 of file History.cpp.
References HistoryFile::get(), getLines(), and lineflags.
Definition at line 240 of file History.cpp.
References cells, HistoryFile::get(), getLines(), index, HistoryFile::isMapped(), HistoryFile::len(), and HistoryFile::map().
Referenced by getCells(), and getLineLen().
|
private |
Definition at line 143 of file History.h.
Referenced by addCells(), addLine(), getCells(), and startOfLine().
|
private |
Definition at line 142 of file History.h.
Referenced by addLine(), getLines(), and startOfLine().
|
private |
Definition at line 144 of file History.h.
Referenced by addLine(), and isWrappedLine().
|
protectedinherited |
Definition at line 115 of file History.h.
Referenced by HistoryScroll::getType(), and HistoryScroll::~HistoryScroll().