#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 211 of file History.cpp.
|
virtual |
Definition at line 217 of file History.cpp.
|
virtual |
Implements HistoryScroll.
Definition at line 262 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().
|
virtual |
Implements HistoryScroll.
Definition at line 267 of file History.cpp.
References HistoryFile::add(), cells, index, HistoryFile::isMapped(), HistoryFile::len(), lineflags, and HistoryFile::unmap().
|
inlineinherited |
Definition at line 94 of file History.h.
References HistoryScroll::getCells().
|
virtual |
Implements HistoryScroll.
Definition at line 257 of file History.cpp.
References cells, HistoryFile::get(), and startOfLine().
|
virtual |
|
virtual |
Implements HistoryScroll.
Definition at line 221 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 193 of file History.cpp.
Referenced by Screen::hasScroll().
|
virtual |
Implements HistoryScroll.
Definition at line 231 of file History.cpp.
References HistoryFile::get(), getLines(), and lineflags.
|
private |
Definition at line 241 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::~HistoryScroll(), and HistoryScroll::getType().