![]() |
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 | |
| HistoryFile () | |
| virtual | ~HistoryFile () |
| virtual void | add (const unsigned char *bytes, int len) |
| virtual void | get (unsigned char *bytes, int len, int loc) |
| bool | isMapped () |
| virtual int | len () |
| void | map () |
| void | unmap () |
Private Attributes | |
| char * | fileMap |
| int | ion |
| int | length |
| int | readWriteBalance |
| QTemporaryFile | tmpFile |
Static Private Attributes | |
| static const int | MAP_THRESHOLD = -1000 |
| HistoryFile::HistoryFile | ( | ) |
Definition at line 84 of file History.cpp.
|
virtual |
Definition at line 96 of file History.cpp.
Definition at line 133 of file History.cpp.
References fileMap, ion, length, readWriteBalance, SEEK_SET, and unmap().
Referenced by HistoryScrollFile::addCells(), and HistoryScrollFile::addLine().
Definition at line 147 of file History.cpp.
References fileMap, ion, len(), length, map(), MAP_THRESHOLD, readWriteBalance, and SEEK_SET.
Referenced by HistoryScrollFile::getCells(), HistoryScrollFile::isWrappedLine(), and HistoryScrollFile::startOfLine().
| bool HistoryFile::isMapped | ( | ) |
Definition at line 128 of file History.cpp.
References fileMap.
Referenced by HistoryScrollFile::addLine(), and HistoryScrollFile::startOfLine().
|
virtual |
Definition at line 173 of file History.cpp.
References length.
Referenced by HistoryScrollFile::addLine(), get(), HistoryScrollFile::getLines(), and HistoryScrollFile::startOfLine().
| void HistoryFile::map | ( | ) |
Definition at line 105 of file History.cpp.
References fileMap, ion, length, and readWriteBalance.
Referenced by get(), and HistoryScrollFile::startOfLine().
| void HistoryFile::unmap | ( | ) |
Definition at line 120 of file History.cpp.
References fileMap, and length.
Referenced by add(), HistoryScrollFile::addLine(), and ~HistoryFile().
|
private |
Definition at line 60 of file History.h.
Referenced by add(), get(), isMapped(), map(), unmap(), and ~HistoryFile().
|
private |
|
private |
|
staticprivate |
|
private |
|
private |
Definition at line 57 of file History.h.
Referenced by HistoryFile().
1.8.1.2