|
DAWorkbench 0.0.1
DAWorkbench API
|
保存/加载xml文件的任务 更多...
#include <DAZipArchiveTask_Xml.h>
Public 成员函数 | |
| DAZipArchiveTask_Xml (const QString &path) | |
| DAZipArchiveTask_Xml (const QString &path, const QDomDocument &doc) | |
| QDomDocument | getDomDocument () const |
| void | setDomDocument (const QDomDocument &domDocument) |
| QString | getPath () const |
| void | setPath (const QString &path) |
| QString | getLastErrorString () const |
| void | setLastErrorString (const QString &lastErrorString) |
| virtual bool | exec (DAAbstractArchive *archive, DAAbstractArchiveTask::Mode mode) override |
| 执行任务 | |
Public 成员函数 继承自 DA::DAAbstractArchiveTask | |
| int | getCode () const |
| 获取流水号 | |
| void | setCode (int code) |
| 设置流水号 | |
| QString | getName () const |
| void | setName (const QString &name) |
| QString | getDescribe () const |
| void | setDescribe (const QString &describe) |
| void | setLoadedCallBack (const FpLoadedCallBack &callBack) |
| FpLoadedCallBack | getLoadedCallBack () const |
额外继承的成员函数 | |
Public 类型 继承自 DA::DAAbstractArchiveTask | |
| enum | Mode { ReadMode , WriteMode } |
| 模式用来区分读写 | |
| using | FpLoadedCallBack = std::function< void(std::shared_ptr< DAAbstractArchiveTask >) > |
保存/加载xml文件的任务
|
overridevirtual |
执行任务
| archive | 传入的档案基类 |
| mode | 写或读模式 |
示例