![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qqsbcollection_p.h>
Public Member Functions | |
| QQsbInMemoryCollection ()=default | |
| EntryMap | availableEntries () const override |
| Entry | addEntry (const QByteArray &key, const EntryDesc &entryDesc) override |
| bool | extractEntry (Entry entry, EntryDesc &entryDesc) override |
| void | clear () |
| bool | load (const QString &filename) |
| bool | save (const QString &filename) |
| Public Member Functions inherited from QQsbCollection | |
| virtual | ~QQsbCollection () |
Additional Inherited Members | |
| Public Types inherited from QQsbCollection | |
| using | FeatureSet = QMap<QByteArray, bool> |
| using | EntryMap = QSet<Entry> |
| Static Public Member Functions inherited from QQsbCollection | |
| template<typename T> | |
| static FeatureSet | toFeatureSet (const T &ssgFeatureSet) |
| Protected Types inherited from QQsbCollection | |
| enum | Version : quint8 { Unknown , One = 0x10 , Two = 0x20 } |
| Protected Member Functions inherited from QQsbCollection | |
| bool | readEndHeader (QDataStream &ds, qint64 *startPos, quint8 *version) |
| void | writeEndHeader (QDataStream &ds, qint64 startPos, quint8 version, quint64 magic) |
| bool | readEndHeader (QIODevice *device, EntryMap *entries, quint8 *version) |
| void | writeEndHeader (QIODevice *device, const EntryMap &entries) |
Definition at line 107 of file qqsbcollection_p.h.
|
default |
|
overridevirtual |
Implements QQsbCollection.
Definition at line 143 of file qqsbcollection.cpp.
|
overridevirtual |
Implements QQsbCollection.
Definition at line 138 of file qqsbcollection.cpp.
| void QQsbInMemoryCollection::clear | ( | ) |
Definition at line 163 of file qqsbcollection.cpp.
Implements QQsbCollection.
Definition at line 153 of file qqsbcollection.cpp.
| bool QQsbInMemoryCollection::load | ( | const QString & | filename | ) |
Definition at line 173 of file qqsbcollection.cpp.
| bool QQsbInMemoryCollection::save | ( | const QString & | filename | ) |
Definition at line 214 of file qqsbcollection.cpp.