C

QSafeStateFileReader Class

class SafeRenderer::QSafeStateFileReader

The QSafeStateFileReader class loads the state definition from the file. More...

Header: #include <QSafeStateFileReader>
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 QSafeStateFileReader class loads the state definition from the file system. The QSafeStateFileReader is derived from the QSafeStateLoader class.

Member Function Documentation

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

Loads states definitions from the 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.