Loader Class

class QScxmlCompiler::Loader

The Loader class is a URI resolver and resource loader for an SCXML compiler. More...

This class was introduced in Qt 5.8.

Public Functions

Loader()
virtual ~Loader()
virtual QByteArray load(const QString &name, const QString &baseDir, QStringList *errors) = 0

Detailed Description

Member Function Documentation

Loader::Loader()

Creates a new loader.

[virtual] Loader::~Loader()

Destroys the loader.

[pure virtual] QByteArray Loader::load(const QString &name, const QString &baseDir, QStringList *errors)

Resolves the URI name and loads an SCXML file from the directory specified by baseDir. errors contains information about the errors that might have occurred.

Returns a QByteArray that stores the contents of the file.

© 2020 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.