QScxmlCompiler::Loader Class

class QScxmlCompiler::Loader

加载器类是 SCXML 编译器的 URI 解析器和资源加载器。更多

公共函数

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

详细说明

成员函数文档

Loader::Loader()

创建一个新的加载器。

[virtual noexcept] Loader::~Loader()

销毁装载机。

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

解析 URIname ,并从baseDir 指定的目录加载 SCXML 文件。errors 包含可能发生的错误信息。

返回存储文件内容的QByteArray

© 2025 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.