123 qint64 seekPosition);
150 qint64
findNextMark(qint64 startID,
bool forward = true) const;
160 bool removeMark(qint64 recordID, qint64 lastRecordID);
176 QObject* getMarkModel();
201 bool initializeFromModel(QObject* mapModel);
238 virtual void appendModelData(
239 const MarkNode& logMark,
257 qint64 insertModelMark(
258 ZTableModelZLogMap::MarkNode* model,
265 void insertRole(
ZRoleRow& row,
int role, QVariant data);
A data model containing a list of log record links. This is used for displaying a ZLogMap object...
MarkType getMapType()
returns this log map's mark type
#define ZBL_DECLARE_LOGGED_OBJECT
QList< ZLogMap * > zLogMapList
A QML type that manages reading JSON formatted Zuble log files. QML programs create using Zbl...
ZLogReader * getZReader() const
Returns the foreground log file reader object for this search.
void insertMark(qint64 recordID, qint64 lastRecordID, qint64 seekPosition)
Creates a new log mark in the database.
Maintains a list of log record links pertaining to a specific log file.
bool hasMark(qint64 recordID)
Determine if the log map contains a mark for the specified log record.
ZLogReader * m_reader
The log file reader that created this search object.
static void registerType()
Registers ZLogMap as a QML type.
QMap< int, QList< QVariant > > ZRoleRow
Represents a single row (or column for column headers) of data cell values for multiple roles...
void clear()
Removes all marks from the log map.
This two dimensional table model is used to store and manipulate data.
MarkType
Types of log maps: Invalid, Selection, Search, Bookmark.
bool removeMark(qint64 recordID, qint64 lastRecordID)
Removes the specified mark from the log map.
ZBL_DECLARE_LOGGED_OBJECT ZblLogMap m_map
Create the m_tag object that presents a Javascript interface to constant integer values.
virtual int logMapType()
Returns log map type. Subclasses override this to return their map type.
void selectionUpdated()
Sent whenever the ZLogMap state has been changed.
Q_INVOKABLE QObject * getReader() const
Returns the foreground log file reader object for this log map.
Logmap objects contain a collection of compressed links to log records.
qint64 findNextMark(qint64 startID, bool forward=true) const
Search forward or backward for the next mark from a specified starting position.
QList< QVariant > ZDataRow
Represents a single row (or column for column headers) of data cell values for a single role...
MarkRole
Roles for the log map's data model.