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 | |
HistoryTypeFile (const QString &fileName=QString()) | |
virtual const QString & | getFileName () const |
virtual bool | isEnabled () const |
Returns true if the history is enabled ( can store lines of output ) or false otherwise. | |
bool | isUnlimited () const |
Returns true if the history size is unlimited. | |
virtual int | maximumLineCount () const |
Returns the maximum number of lines which this history type can store or 0 if the history can store an unlimited number of lines. | |
virtual HistoryScroll * | scroll (HistoryScroll *) const |
Protected Attributes | |
QString | m_fileName |
HistoryTypeFile::HistoryTypeFile | ( | const QString & | fileName = QString() | ) |
Definition at line 646 of file History.cpp.
|
virtual |
Definition at line 656 of file History.cpp.
References m_fileName.
|
virtual |
Returns true if the history is enabled ( can store lines of output ) or false otherwise.
Implements HistoryType.
Definition at line 651 of file History.cpp.
|
inlineinherited |
Returns true if the history size is unlimited.
Definition at line 264 of file History.h.
References HistoryType::maximumLineCount().
|
virtual |
Returns the maximum number of lines which this history type can store or 0 if the history can store an unlimited number of lines.
Implements HistoryType.
Definition at line 693 of file History.cpp.
|
virtual |
Implements HistoryType.
Definition at line 661 of file History.cpp.
References HistoryScroll::addCells(), HistoryScroll::addLine(), HistoryScroll::getCells(), HistoryScroll::getLineLen(), HistoryScroll::getLines(), HistoryScroll::isWrappedLine(), LINE_SIZE, m_fileName, and size().
|
protected |
Definition at line 312 of file History.h.
Referenced by getFileName(), and scroll().