QScxmlCompiler::Loader Class
class QScxmlCompiler::LoaderLoader 类是 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 对象,该对象存储了文件的内容。
© 2026 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.