Ref T182, added coverageSummary / count functions

This commit is contained in:
Klaus Basan
2017-11-10 03:51:25 +01:00
parent 9a5a80146c
commit 0d3dcdae83
4 changed files with 114 additions and 2 deletions

View File

@@ -38,7 +38,7 @@ namespace BlackMisc
//! All keys as set
QSet<KEYTYPE> toDbKeySet() const;
//! All keys as string set (also int keys will be converted to string)
//! All keys as string set (also integer keys will be converted to string)
QSet<QString> toDbKeyStringSet() const;
//! The DB keys as string
@@ -62,6 +62,9 @@ namespace BlackMisc
//! Latest DB timestamp (means objects with DB key)
QDateTime oldestDbTimestamp() const;
//! Number of entries with valid DB key
int countWithValidDbKey() const;
//! From DB JSON with default prefixes
//! \remark Specialized classes might have their own fromDatabaseJson implementation
static CONTAINER fromDatabaseJson(const QJsonArray &array);