Definition at line 895 of file qresource.cpp.
◆ QDynamicBufferResourceRoot()
QDynamicBufferResourceRoot::QDynamicBufferResourceRoot |
( |
const QString & |
_root | ) |
|
|
inline |
◆ ~QDynamicBufferResourceRoot()
QDynamicBufferResourceRoot::~QDynamicBufferResourceRoot |
( |
| ) |
|
|
inline |
◆ mappingBuffer()
const uchar* QDynamicBufferResourceRoot::mappingBuffer |
( |
| ) |
const |
|
inline |
◆ mappingRoot()
virtual QString QDynamicBufferResourceRoot::mappingRoot |
( |
| ) |
const |
|
inlinevirtual |
◆ registerSelf()
bool QDynamicBufferResourceRoot::registerSelf |
( |
const uchar * |
b | ) |
|
|
inline |
Definition at line 907 of file qresource.cpp.
Referenced by QResource::registerResource(), and QDynamicFileResourceRoot::registerSelf().
912 if(b[offset+0] !=
'q' || b[offset+1] !=
'r' ||
913 b[offset+2] !=
'e' || b[offset+3] !=
's') {
918 const int version = (b[offset+0] << 24) + (b[offset+1] << 16) +
919 (b[offset+2] << 8) + (b[offset+3] << 0);
922 const int tree_offset = (b[offset+0] << 24) + (b[offset+1] << 16) +
923 (b[offset+2] << 8) + (b[offset+3] << 0);
926 const int data_offset = (b[offset+0] << 24) + (b[offset+1] << 16) +
927 (b[offset+2] << 8) + (b[offset+3] << 0);
930 const int name_offset = (b[offset+0] << 24) + (b[offset+1] << 16) +
931 (b[offset+2] << 8) + (b[offset+3] << 0);
934 if(version == 0x01) {
936 setSource(b+tree_offset, b+name_offset, b+data_offset);
void setSource(const uchar *t, const uchar *n, const uchar *d)
◆ type()
◆ buffer
const uchar* QDynamicBufferResourceRoot::buffer |
|
private |
◆ root
QString QDynamicBufferResourceRoot::root |
|
private |
The documentation for this class was generated from the following file: