|
OpenMW
|
#include <tools.hpp>
Signals | |
| void | progress (int current, int max, int type) |
| void | done (int type, bool failed) |
| void | mergeDone (CSMDoc::Document *document) |
Public Member Functions | |
| Tools (CSMDoc::Document &document, ToUTF8::FromType encoding) | |
| virtual | ~Tools () |
| CSMWorld::UniversalId | runVerifier (const CSMWorld::UniversalId &reportId=CSMWorld::UniversalId()) |
| CSMWorld::UniversalId | newSearch () |
| Return ID of the report for this search. More... | |
| void | runSearch (const CSMWorld::UniversalId &searchId, const Search &search) |
| void | runMerge (std::unique_ptr< CSMDoc::Document > target) |
| void | abortOperation (int type) |
| int | getRunningOperations () const |
| ReportModel * | getReport (const CSMWorld::UniversalId &id) |
| The ownership of the returned report is not transferred. More... | |
Private Slots | |
| void | verifierMessage (const CSMDoc::Message &message, int type) |
Private Member Functions | |
| Tools (const Tools &) | |
| Tools & | operator= (const Tools &) |
| CSMDoc::OperationHolder * | getVerifier () |
| CSMDoc::OperationHolder * | get (int type) |
| Returns a 0-pointer, if operation hasn't been used yet. More... | |
| const CSMDoc::OperationHolder * | get (int type) const |
| Returns a 0-pointer, if operation hasn't been used yet. More... | |
Private Attributes | |
| CSMDoc::Document & | mDocument |
| CSMWorld::Data & | mData |
| CSMDoc::Operation * | mVerifierOperation |
| CSMDoc::OperationHolder | mVerifier |
| SearchOperation * | mSearchOperation |
| CSMDoc::OperationHolder | mSearch |
| MergeOperation * | mMergeOperation |
| CSMDoc::OperationHolder | mMerge |
| std::map< int, ReportModel * > | mReports |
| int | mNextReportNumber |
| std::map< int, int > | mActiveReports |
| ToUTF8::FromType | mEncoding |
|
private |
| CSMTools::Tools::Tools | ( | CSMDoc::Document & | document, |
| ToUTF8::FromType | encoding | ||
| ) |
|
virtual |
| void CSMTools::Tools::abortOperation | ( | int | type | ) |
|
private |
Returns a 0-pointer, if operation hasn't been used yet.
|
private |
Returns a 0-pointer, if operation hasn't been used yet.
| CSMTools::ReportModel * CSMTools::Tools::getReport | ( | const CSMWorld::UniversalId & | id | ) |
The ownership of the returned report is not transferred.
| int CSMTools::Tools::getRunningOperations | ( | ) | const |
|
private |
|
signal |
| CSMWorld::UniversalId CSMTools::Tools::newSearch | ( | ) |
Return ID of the report for this search.
| void CSMTools::Tools::runMerge | ( | std::unique_ptr< CSMDoc::Document > | target | ) |
| void CSMTools::Tools::runSearch | ( | const CSMWorld::UniversalId & | searchId, |
| const Search & | search | ||
| ) |
| CSMWorld::UniversalId CSMTools::Tools::runVerifier | ( | const CSMWorld::UniversalId & | reportId = CSMWorld::UniversalId() | ) |
| reportId | If a valid VerificationResults ID, run verifier for the specified report instead of creating a new one. |
|
privateslot |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
1.8.6