Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QDynamicBufferResourceRoot Class Reference
+ Inheritance diagram for QDynamicBufferResourceRoot:
+ Collaboration diagram for QDynamicBufferResourceRoot:

Public Member Functions

 QDynamicBufferResourceRoot (const QString &_root)
 
 ~QDynamicBufferResourceRoot ()
 
const ucharmappingBuffer () const
 
QString mappingRoot () const override
 
ResourceRootType type () const override
 
bool registerSelf (const uchar *b, qsizetype size)
 
- Public Member Functions inherited from QResourceRoot
 QResourceRoot ()
 
 QResourceRoot (int version, const uchar *t, const uchar *n, const uchar *d)
 
virtual ~QResourceRoot ()
 
int findNode (const QString &path, const QLocale &locale=QLocale()) const
 
bool isContainer (int node) const
 
QResource::Compression compressionAlgo (int node)
 
const uchardata (int node, qint64 *size) const
 
qint64 lastModified (int node) const
 
QStringList children (int node) const
 
bool mappingRootSubdir (const QString &path, QString *match=nullptr) const
 
bool operator== (const QResourceRoot &other) const
 
bool operator!= (const QResourceRoot &other) const
 

Additional Inherited Members

- Public Types inherited from QResourceRoot
enum  Flags { Compressed = 0x01 , Directory = 0x02 , CompressedZstd = 0x04 }
 
enum  ResourceRootType { Resource_Builtin , Resource_File , Resource_Buffer }
 
- Public Attributes inherited from QResourceRoot
QAtomicInt ref
 
- Protected Member Functions inherited from QResourceRoot
void setSource (int v, const uchar *t, const uchar *n, const uchar *d)
 

Detailed Description

Definition at line 1036 of file qresource.cpp.

Constructor & Destructor Documentation

◆ QDynamicBufferResourceRoot()

QDynamicBufferResourceRoot::QDynamicBufferResourceRoot ( const QString & _root)
inline

Definition at line 1042 of file qresource.cpp.

◆ ~QDynamicBufferResourceRoot()

QDynamicBufferResourceRoot::~QDynamicBufferResourceRoot ( )
inline

Definition at line 1043 of file qresource.cpp.

Member Function Documentation

◆ mappingBuffer()

const uchar * QDynamicBufferResourceRoot::mappingBuffer ( ) const
inline

Definition at line 1044 of file qresource.cpp.

Referenced by QDynamicFileResourceRoot::~QDynamicFileResourceRoot(), and QResource::unregisterResource().

+ Here is the caller graph for this function:

◆ mappingRoot()

QString QDynamicBufferResourceRoot::mappingRoot ( ) const
inlineoverridevirtual

Reimplemented from QResourceRoot.

Definition at line 1045 of file qresource.cpp.

Referenced by QResource::unregisterResource(), and QResource::unregisterResource().

+ Here is the caller graph for this function:

◆ registerSelf()

bool QDynamicBufferResourceRoot::registerSelf ( const uchar * b,
qsizetype size )
inline

Definition at line 1049 of file qresource.cpp.

References QResourceRoot::Compressed, QResourceRoot::CompressedZstd, QT_CONFIG, and QResourceRoot::setSource().

Referenced by QResource::registerResource(), and QDynamicFileResourceRoot::registerSelf().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ type()

ResourceRootType QDynamicBufferResourceRoot::type ( ) const
inlineoverridevirtual

Reimplemented from QResourceRoot.

Reimplemented in QDynamicFileResourceRoot.

Definition at line 1046 of file qresource.cpp.

References QResourceRoot::Resource_Buffer.


The documentation for this class was generated from the following file: