Workspace 6.21.5
|
#include <Tools/WorkflowComparison/Application/domdocumentupdater.h>
Public Member Functions | |
DomDocumentUpdater () | |
~DomDocumentUpdater () override | |
bool | addAnchor (ComparisonRole desc, QString workspaceId, QString anchorId, DataExecution::AnchorData anchorData) |
bool | addConnection (ComparisonRole desc, QString src_name, QString from_op, QString dest_name, int dest_index, QString to_op) |
bool | addConnectionAttribute (ComparisonRole, QString src_name, QString from_op, QString dest_name, int dest_index, QString to_op, const QString &attributeName, const QString &value) |
bool | addFeature (ComparisonRole, QString opId, DataExecution::SchedulerFeature) |
bool | addInput (ComparisonRole, const QString &opId, const QString &inputName, int arrayIndex, QMap< QString, QString > &attributes, QStringList &content) |
bool | addNote (ComparisonRole, QString workspaceId, QString noteId, DataExecution::NoteItemData) |
bool | addOperation (ComparisonRole, QString opId) |
bool | addOutput (ComparisonRole, const QString &opId, const QString &outputName, QMap< QString, QString > &attributes) |
bool | documentsSet () |
bool | loadDocument (ComparisonRole desc, const QString &filename) |
bool | modifyAnchor (ComparisonRole desc, QString workspaceId, QString anchorId, DataExecution::AnchorData anchorData) |
bool | modifyAnchorAttribute (ComparisonRole, QString workspaceId, QString anchorId, QString name, QString value) |
bool | modifyConnection (ComparisonRole desc, QString dest_name, int dest_index, QString to_op) |
bool | modifyConnectionAttribute (ComparisonRole, QString src_name, QString from_op, QString dest_name, int dest_index, QString to_op, const QString &attributeName, const QString &value) |
bool | modifyFeature (ComparisonRole, QString opId, DataExecution::SchedulerFeature) |
bool | modifyFeatureAttribute (ComparisonRole, QString opId, QString featureName, QString attributeName, QString value) |
bool | modifyInput (ComparisonRole, const QString &opId, const QString &name, int arrayIndex, const QMap< QString, QString > &attributes, const QStringList &content=QStringList()) |
bool | modifyInputAttribute (ComparisonRole, const QString &opId, const QString &inputName, int arrayIndex, const QString &attributeName, const QString &value) |
bool | modifyNote (ComparisonRole, QString workspaceId, QString noteId, DataExecution::NoteItemData, const NoteDifference &diff) |
bool | modifyNoteAttribute (ComparisonRole, QString workspaceId, QString noteId, QString name, QString value) |
bool | modifyOperation (ComparisonRole, QString opId) |
bool | modifyOperationAttribute (ComparisonRole, QString opId, QString name, QString value) |
bool | modifyOutput (ComparisonRole, const QString &opId, const QString &outputName, const QMap< QString, QString > &attributes) |
bool | modifyOutputAttribute (ComparisonRole, const QString &opId, const QString &outputName, const QString &attributeName, const QString &value) |
bool | removeAnchor (ComparisonRole, QString workspaceId, QString anchorId) |
bool | removeConnection (ComparisonRole desc, QString dest_name, int dest_index, QString to_op) |
bool | removeConnectionAttribute (ComparisonRole, QString src_name, QString from_op, QString dest_name, int dest_index, QString to_op, const QString &attributeName) |
bool | removeFeature (ComparisonRole, QString opId, QString featureName) |
bool | removeInput (ComparisonRole, const QString &opId, const QString &inputName, int arrayIndex=-1) |
bool | removeNote (ComparisonRole, QString workspaceId, QString noteId) |
bool | removeOperation (ComparisonRole, QString opId) |
bool | removeOutput (ComparisonRole, const QString &opId, const QString &outputName) |
bool | saveDocument (ComparisonRole desc, const QString &filename) const |
bool | saveTempDocument (ComparisonRole desc) |
void | setOperationDifferences (const CSIRO::DataExecution::ObjectArray &operationDifferences) |
QString | tempFileName (ComparisonRole desc) const |
Public Member Functions inherited from BasicTextLogger | |
BasicTextLogger () | |
virtual | ~BasicTextLogger () |
void | logLine (const Application::LogManager::MessageCategory &category, const QString &msg) const |
void | logLine (const QString &msg) const |
void | logText (const Application::LogManager::MessageCategory &category, const QString &msg) const |
void | logText (const QString &msg) const |
Protected Member Functions | |
bool | addInput (ComparisonRole, const QString &opId, const QString &inputName, int arrayIndex=-1, QDomElement *refElement=nullptr) |
bool | addOutput (ComparisonRole, const QString &opId, const QString &outputName, QDomElement *refElement=nullptr) |
bool | getFileIntoQDomDocument (const QString &filename, QDomDocument &domDocument) |
const OperationDifference * | operationDifference (const QString &opId) |
Protected Attributes | |
QDomDocument | domDocumentA_ |
QDomDocument | domDocumentB_ |
QString | fileNameA_ |
QString | fileNameB_ |
const CSIRO::DataExecution::ObjectArray * | operationDifferences_ {} |
QTemporaryDir | tempDirA_ |
QTemporaryDir | tempDirB_ |
QFile | tempFileA_ |
QFile | tempFileB_ |
|
overridedefault |
bool addAnchor | ( | ComparisonRole | desc, |
QString | workspaceId, | ||
QString | anchorId, | ||
DataExecution::AnchorData | anchorData | ||
) |
bool addConnection | ( | ComparisonRole | desc, |
QString | src_name, | ||
QString | from_op, | ||
QString | dest_name, | ||
int | dest_index, | ||
QString | to_op | ||
) |
bool addConnectionAttribute | ( | ComparisonRole | desc, |
QString | src_name, | ||
QString | from_op, | ||
QString | dest_name, | ||
int | dest_index, | ||
QString | to_op, | ||
const QString & | attributeName, | ||
const QString & | value | ||
) |
bool addFeature | ( | ComparisonRole | desc, |
QString | opId, | ||
DataExecution::SchedulerFeature | newFeature | ||
) |
bool addInput | ( | ComparisonRole | desc, |
const QString & | opId, | ||
const QString & | inputName, | ||
int | arrayIndex, | ||
QMap< QString, QString > & | attributes, | ||
QStringList & | content | ||
) |
|
protected |
bool addNote | ( | ComparisonRole | desc, |
QString | workspaceId, | ||
QString | noteId, | ||
DataExecution::NoteItemData | |||
) |
bool addOperation | ( | ComparisonRole | desc, |
QString | opId | ||
) |
|
protected |
bool addOutput | ( | ComparisonRole | desc, |
const QString & | opId, | ||
const QString & | outputName, | ||
QMap< QString, QString > & | attributes | ||
) |
|
inline |
|
protected |
bool loadDocument | ( | ComparisonRole | desc, |
const QString & | filename | ||
) |
bool modifyAnchor | ( | ComparisonRole | desc, |
QString | workspaceId, | ||
QString | anchorId, | ||
DataExecution::AnchorData | anchorData | ||
) |
bool modifyAnchorAttribute | ( | ComparisonRole | desc, |
QString | workspaceId, | ||
QString | anchorId, | ||
QString | name, | ||
QString | value | ||
) |
bool modifyConnection | ( | ComparisonRole | desc, |
QString | dest_name, | ||
int | dest_index, | ||
QString | to_op | ||
) |
bool modifyConnectionAttribute | ( | ComparisonRole | desc, |
QString | src_name, | ||
QString | from_op, | ||
QString | dest_name, | ||
int | dest_index, | ||
QString | to_op, | ||
const QString & | attributeName, | ||
const QString & | value | ||
) |
bool modifyFeature | ( | ComparisonRole | desc, |
QString | opId, | ||
DataExecution::SchedulerFeature | feature | ||
) |
bool modifyFeatureAttribute | ( | ComparisonRole | desc, |
QString | opId, | ||
QString | featureName, | ||
QString | attributeName, | ||
QString | value | ||
) |
bool modifyInput | ( | ComparisonRole | desc, |
const QString & | opId, | ||
const QString & | name, | ||
int | arrayIndex, | ||
const QMap< QString, QString > & | attributes, | ||
const QStringList & | content = QStringList() |
||
) |
bool modifyInputAttribute | ( | ComparisonRole | desc, |
const QString & | opId, | ||
const QString & | inputName, | ||
int | arrayIndex, | ||
const QString & | attributeName, | ||
const QString & | value | ||
) |
bool modifyNote | ( | ComparisonRole | desc, |
QString | workspaceId, | ||
QString | noteId, | ||
DataExecution::NoteItemData | , | ||
const NoteDifference & | diff | ||
) |
bool modifyNoteAttribute | ( | ComparisonRole | desc, |
QString | workspaceId, | ||
QString | noteId, | ||
QString | name, | ||
QString | value | ||
) |
bool modifyOperation | ( | ComparisonRole | desc, |
QString | opId | ||
) |
bool modifyOperationAttribute | ( | ComparisonRole | desc, |
QString | opId, | ||
QString | name, | ||
QString | value | ||
) |
bool modifyOutput | ( | ComparisonRole | desc, |
const QString & | opId, | ||
const QString & | outputName, | ||
const QMap< QString, QString > & | attributes | ||
) |
bool modifyOutputAttribute | ( | ComparisonRole | desc, |
const QString & | opId, | ||
const QString & | outputName, | ||
const QString & | attributeName, | ||
const QString & | value | ||
) |
|
protected |
bool removeAnchor | ( | ComparisonRole | desc, |
QString | workspaceId, | ||
QString | anchorId | ||
) |
bool removeConnection | ( | ComparisonRole | desc, |
QString | dest_name, | ||
int | dest_index, | ||
QString | to_op | ||
) |
bool removeConnectionAttribute | ( | ComparisonRole | desc, |
QString | src_name, | ||
QString | from_op, | ||
QString | dest_name, | ||
int | dest_index, | ||
QString | to_op, | ||
const QString & | attributeName | ||
) |
bool removeFeature | ( | ComparisonRole | desc, |
QString | opId, | ||
QString | featureName | ||
) |
bool removeInput | ( | ComparisonRole | desc, |
const QString & | opId, | ||
const QString & | inputName, | ||
int | arrayIndex = -1 |
||
) |
bool removeNote | ( | ComparisonRole | desc, |
QString | workspaceId, | ||
QString | noteId | ||
) |
bool removeOperation | ( | ComparisonRole | desc, |
QString | opId | ||
) |
bool removeOutput | ( | ComparisonRole | desc, |
const QString & | opId, | ||
const QString & | outputName | ||
) |
bool saveDocument | ( | ComparisonRole | desc, |
const QString & | filename | ||
) | const |
bool saveTempDocument | ( | ComparisonRole | desc | ) |
void setOperationDifferences | ( | const CSIRO::DataExecution::ObjectArray & | operationDifferences | ) |
QString tempFileName | ( | ComparisonRole | desc | ) | const |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |