Workspace 6.21.5
|
Contains all of the neccesary information to describe the differences between an display's instances in two different workflows. More...
#include <Tools/WorkflowComparison/displaydifference.h>
Public Member Functions | |
DisplayDifference () | |
DisplayDifference (const DisplayDifference &other) | |
~DisplayDifference () override | |
size_t | addToOperationDifference (OperationDifference &opDiff) const override |
DisplayDifference * | clone () const override |
const QStringList & | getContentInA () const |
const QStringList & | getContentInB () const |
const QString & | getDataPath () const |
const QString & | getDisplayWidgetInA () const |
const QString & | getDisplayWidgetInB () const |
int | getDockLocationInA () const |
int | getDockLocationInB () const |
bool | getFloatingInA () const |
bool | getFloatingInB () const |
QString | getIOName () const |
QString | getOperationId () const |
DisplayDifference & | operator= (const DisplayDifference &rhs) |
bool | operator== (const DisplayDifference &rhs) const |
void | setContentInA (const QStringList &contentInA) |
void | setContentInB (const QStringList &contentInB) |
void | setDataPath (const QString &dataPath) |
void | setDisplayWidgetInA (const QString &displayWidgetInA) |
void | setDisplayWidgetInB (const QString &displayWidgetInB) |
void | setDockLocationInA (int dockLocationInA) |
void | setDockLocationInB (int dockLocationInB) |
void | setFloatingInA (bool floatingInA) |
void | setFloatingInB (bool floatingInB) |
QString | toString () const override |
Public Member Functions inherited from ElementDifference | |
ElementDifference (const ElementDifference &other) | |
ElementDifference (const QString &type="UnknownType") | |
~ElementDifference () override | |
AttributeDifference & | addAttributeDifference (const AttributeDifference &attributeDifference) |
virtual size_t | addToOperationDifference (OperationDifference &opDiff) const |
ElementDifference * | clone () const override |
const CSIRO::DataExecution::ObjectArray & | getAttributeDifferenceArray () const |
ElementDifference & | operator= (const ElementDifference &rhs) |
bool | operator== (const ElementDifference &rhs) const |
void | setAttributeDifferenceArray (const CSIRO::DataExecution::ObjectArray &attributes) |
const QString & | tag () |
Public Member Functions inherited from ItemDifference | |
ItemDifference () | |
ItemDifference (const ItemDifference &other) | |
~ItemDifference () override | |
ItemDifference * | clone () const override |
const QString & | getItemType () const |
bool | getPresentIn (ComparisonRole workflow) const |
const bool & | getPresentInA () const |
const bool & | getPresentInB () const |
bool | getSuppressAnnotationIn (ComparisonRole workflow) const |
const bool & | getSuppressAnnotationInA () const |
const bool & | getSuppressAnnotationInB () const |
bool | getUpdatedIn (ComparisonRole workflow) const |
const bool & | getUpdatedInA () const |
const bool & | getUpdatedInB () const |
ItemDifference & | operator= (const ItemDifference &rhs) |
bool | operator== (const ItemDifference &rhs) const |
void | setItemType (const QString &itemType) |
void | setPresentInA (const bool &presentInA) |
void | setPresentInB (const bool &presentInB) |
void | setSuppressAnnotation (const bool &updatedIn, ComparisonRole workflow) |
void | setSuppressAnnotationInA (const bool &updatedInA) |
void | setSuppressAnnotationInB (const bool &updatedInB) |
void | setUpdated (const bool &updatedIn, ComparisonRole workflow) |
void | setUpdatedInA (const bool &updatedInA) |
void | setUpdatedInB (const bool &updatedInB) |
virtual QString | toString () const |
Public Member Functions inherited from ObjectGroup | |
~ObjectGroup () override | |
bool | add (const QString &name, DataObject &obj) |
bool | canSerialize () const override |
ObjectGroup * | clone () const override=0 |
bool | empty () const |
void | ensureGroupHasData () |
void | erase (int index) |
DataObject * | getChild (const QString &name) |
const DataObject * | getChild (const QString &name) const |
DataObject & | getDataObject (int index) |
const DataObject & | getDataObject (int index) const |
int | getIndex (const QString &name) const |
const QString & | getName (int index) const |
virtual QString | getPreferedWidget (const QString &name) const |
bool | hasData () const |
bool | haveName (const QString &name) const |
bool | insert (const QString &name, DataObject &obj, int index=-1) |
bool | load (const QJsonDocument &doc) |
bool | load (const SerializedItem &item) override |
bool | save (QJsonDocument &doc) const |
bool | save (SerializedItem &item) const override |
unsigned | size () const |
Public Member Functions inherited from Clonable | |
virtual | ~Clonable ()=default |
virtual Clonable * | clone () const =0 |
Public Member Functions inherited from Serialize | |
virtual | ~Serialize ()=default |
virtual bool | canSerialize () const =0 |
virtual bool | load (const SerializedItem &item)=0 |
virtual bool | save (SerializedItem &item) const =0 |
Additional Inherited Members | |
Protected Member Functions inherited from ObjectGroup | |
ObjectGroup () | |
void | clear () |
ObjectGroup & | operator= (const ObjectGroup &rhs) |
bool | operator== (const ObjectGroup &rhs) const |
void | swap (ObjectGroup &rhs) |
Display instances are considered to correspond to each other if they have the same name and they belong to an operation with the same id (GUID).
DisplayDifference | ( | const DisplayDifference & | other | ) |
|
overridedefault |
|
overridevirtual |
Reimplemented from ElementDifference.
|
overridevirtual |
Cloning
Implements ObjectGroup.
const QStringList & getContentInA | ( | ) | const |
const QStringList & getContentInB | ( | ) | const |
const QString & getDataPath | ( | ) | const |
const QString & getDisplayWidgetInA | ( | ) | const |
const QString & getDisplayWidgetInB | ( | ) | const |
int getDockLocationInA | ( | ) | const |
int getDockLocationInB | ( | ) | const |
bool getFloatingInA | ( | ) | const |
bool getFloatingInB | ( | ) | const |
QString getIOName | ( | ) | const |
QString getOperationId | ( | ) | const |
DisplayDifference & operator= | ( | const DisplayDifference & | rhs | ) |
Assignment
bool operator== | ( | const DisplayDifference & | rhs | ) | const |
Comparison
void setContentInA | ( | const QStringList & | contentInA | ) |
void setContentInB | ( | const QStringList & | contentInB | ) |
void setDataPath | ( | const QString & | dataPath | ) |
void setDisplayWidgetInA | ( | const QString & | displayWidgetInA | ) |
void setDisplayWidgetInB | ( | const QString & | displayWidgetInB | ) |
void setDockLocationInA | ( | int | dockLocationInA | ) |
void setDockLocationInB | ( | int | dockLocationInB | ) |
void setFloatingInA | ( | bool | floatingInA | ) |
void setFloatingInB | ( | bool | floatingInB | ) |
|
overridevirtual |
Reimplemented from ItemDifference.