![]() |
Qt 6.x
The Qt SDK
|
#include <qqsbcollection_p.h>
Classes | |
struct | Entry |
struct | EntryDesc |
Public Types | |
using | FeatureSet = QMap< QByteArray, bool > |
using | EntryMap = QSet< Entry > |
Public Member Functions | |
virtual | ~QQsbCollection () |
virtual EntryMap | availableEntries () const =0 |
virtual Entry | addEntry (const QByteArray &key, const EntryDesc &entryDesc)=0 |
virtual bool | extractEntry (Entry entry, EntryDesc &entryDesc)=0 |
Static Public Member Functions | |
template<typename T > | |
static FeatureSet | toFeatureSet (const T &ssgFeatureSet) |
Protected Types | |
enum | Version : quint8 { Unknown , One = 0x10 , Two = 0x20 } |
Protected Member Functions | |
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 30 of file qqsbcollection_p.h.
using QQsbCollection::EntryMap = QSet<Entry> |
Definition at line 76 of file qqsbcollection_p.h.
using QQsbCollection::FeatureSet = QMap<QByteArray, bool> |
Definition at line 53 of file qqsbcollection_p.h.
|
protected |
Enumerator | |
---|---|
Unknown | |
One | |
Two |
Definition at line 82 of file qqsbcollection_p.h.
|
virtual |
Definition at line 12 of file qqsbcollection.cpp.
|
pure virtual |
Implemented in QQsbInMemoryCollection, and QQsbIODeviceCollection.
|
pure virtual |
Implemented in QQsbInMemoryCollection, and QQsbIODeviceCollection.
Implemented in QQsbInMemoryCollection, and QQsbIODeviceCollection.
|
protected |
Definition at line 66 of file qqsbcollection.cpp.
References fileId(), MagicaDS, QtVersion, qWarning, and Two.
Referenced by QQsbInMemoryCollection::load(), QQsbIODeviceCollection::map(), and readEndHeader().
|
protected |
Definition at line 86 of file qqsbcollection.cpp.
References device, HeaderSize, QDataStream::Qt_6_0, readEndHeader(), and QDataStream::setVersion().
|
inlinestatic |
Definition at line 56 of file qqsbcollection_p.h.
Referenced by QSSGShaderCache::compileForRhi(), QSSGRenderer::generateRhiShaderPipelineImpl(), and QSSGCustomMaterialSystem::shadersForCustomMaterial().
|
protected |
Definition at line 104 of file qqsbcollection.cpp.
References magic, and QtVersion.
Referenced by QQsbInMemoryCollection::save(), QQsbIODeviceCollection::unmap(), and writeEndHeader().
Definition at line 109 of file qqsbcollection.cpp.
References device, MagicaDS, Q_ASSERT, QDataStream::Qt_6_0, QDataStream::setVersion(), Two, and writeEndHeader().