WARNING: USE THIS SOFTWARE AT YOUR OWN RISK! THIS IS EXPERIMENTAL SOFTWARE NOT INTENDED FOR PRODUCTION USE! Zuble is currently an early stage prototype. As such Zuble is minimally tested and inherently unstable. It is provided for experimental, development, and demonstration purposes only. | Zuble QML Types | Zuble C++ Classes | Zuble Overview |
Zuble
0.1
Zuble Framework C++/QML extension API
|
Defines the location of a single log record in a log file. More...
#include <ZblLogMark.h>
Public Member Functions | |
ZblLogMark () | |
ZblLogMark (const ZblLogMark &other) | |
ZblLogMark (qint64 seekPosition, qint64 recordID) | |
ZblLogMark & | operator= (const ZblLogMark &other) |
bool | isNull () |
qint64 | id () |
qint64 | position () |
Public Attributes | |
qint64 | m_recordID |
The log record ID. More... | |
qint64 | m_seekPos |
Index of the first character of this record in the log file. This is the location to seek in the file to begin reading this record. More... | |
Defines the location of a single log record in a log file.
A seek location may be included as a hint to hasten log record lookups. If a discrepancy between record ID and seek location occurrs use log record ID. This should mitigate the effects editing a log file might have on persisted bookmarks since the seek location would possibly become invalid due to modifications to the log file yet the record being marked might still exist in the file if you search for it.
Definition at line 47 of file ZblLogMark.h.
Zbl::ZblLogMark::ZblLogMark | ( | ) |
Definition at line 29 of file ZblLogMark.cpp.
Zbl::ZblLogMark::ZblLogMark | ( | const ZblLogMark & | other | ) |
Definition at line 34 of file ZblLogMark.cpp.
Zbl::ZblLogMark::ZblLogMark | ( | qint64 | seekPosition, |
qint64 | recordID | ||
) |
Definition at line 40 of file ZblLogMark.cpp.
|
inline |
Definition at line 57 of file ZblLogMark.h.
|
inline |
Definition at line 56 of file ZblLogMark.h.
ZblLogMark & Zbl::ZblLogMark::operator= | ( | const ZblLogMark & | other | ) |
Definition at line 47 of file ZblLogMark.cpp.
|
inline |
Definition at line 58 of file ZblLogMark.h.
qint64 Zbl::ZblLogMark::m_recordID |
The log record ID.
Definition at line 63 of file ZblLogMark.h.
Referenced by id(), isNull(), operator=(), and ZblLogMark().
qint64 Zbl::ZblLogMark::m_seekPos |
Index of the first character of this record in the log file. This is the location to seek in the file to begin reading this record.
-1 = seek location unknown
Definition at line 72 of file ZblLogMark.h.
Referenced by operator=(), position(), and ZblLogMark().
Zuble documentation copyright © 2019 Bob Dinitto. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Zuble is a derivative work of Qt version 5. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.