C

QSafeStateResourceReader Class

class SafeRenderer::QSafeStateResourceReader

The QSafeStateResourceReader class loads the state definition from the resource data. More...

Header: #include <QSafeStateResourceReader>
Since: QtSafeRenderer 1.2
Inherits: SafeRenderer::QSafeStateLoader

Reimplemented Public Functions

virtual void loadFile(const SafeRenderer::QSafeFileInfo &fileInfo, const SafeRenderer::quint32 crcArg, SafeRenderer::QSafeStateTransition &statesArg) const override

Detailed Description

The QSafeStateResourceReader class loads the state definition from the resource data. The QSafeStateResourceReader is derived from the QSafeStateLoader class.

Member Function Documentation

[override virtual] void QSafeStateResourceReader::loadFile(const SafeRenderer::QSafeFileInfo &fileInfo, const SafeRenderer::quint32 crcArg, SafeRenderer::QSafeStateTransition &statesArg) const

Loades states definitions from the resource data fileInfo to the statesArg. The value of the crcArg must match with the CRC of the file.

In case of a failure, one of the following exceptions will be thrown:

Available under certain Qt licenses.
Find out more.