Workspace 6.21.5
Public Member Functions | List of all members
ConnectionDifference Class Reference

Data relating to a difference between a connection's instances in two separate workflows.

#include <Tools/WorkflowComparison/connectiondifference.h>

Inheritance diagram for ConnectionDifference:
[legend]

Public Member Functions

 ConnectionDifference ()
 
 ConnectionDifference (const ConnectionDifference &other)
 
 ~ConnectionDifference () override
 
size_t addToOperationDifference (OperationDifference &opDiff) const override
 
ConnectionDifferenceclone () const override
 
const int & getDestinationInputIndex () const
 
const QString & getDestinationInputLabel () const
 
const QString & getDestinationOperationGUID () const
 
const QString & getDestinationOperationLabel () const
 
const QString & getSourceOutputLabel () const
 
ConnectionDifferenceoperator= (const ConnectionDifference &rhs)
 
bool operator== (const ConnectionDifference &rhs) const
 
void setDestinationInputIndex (const int &destinationInputIndex)
 
void setDestinationInputLabel (const QString &destinationInputLabel)
 
void setDestinationOperationGUID (const QString &destinationOperationGUID)
 
void setDestinationOperationLabel (const QString &destinationOperationLabel)
 
void setSourceOutputLabel (const QString &sourceOutputLabel)
 
QString toString () const override
 
- Public Member Functions inherited from ElementDifference
 ElementDifference (const ElementDifference &other)
 
 ElementDifference (const QString &type="UnknownType")
 
 ~ElementDifference () override
 
AttributeDifferenceaddAttributeDifference (const AttributeDifference &attributeDifference)
 
virtual size_t addToOperationDifference (OperationDifference &opDiff) const
 
ElementDifferenceclone () const override
 
const CSIRO::DataExecution::ObjectArraygetAttributeDifferenceArray () const
 
ElementDifferenceoperator= (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
 
ItemDifferenceclone () 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
 
ItemDifferenceoperator= (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
 
ObjectGroupclone () const override=0
 
bool empty () const
 
void ensureGroupHasData ()
 
void erase (int index)
 
DataObjectgetChild (const QString &name)
 
const DataObjectgetChild (const QString &name) const
 
DataObjectgetDataObject (int index)
 
const DataObjectgetDataObject (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 Clonableclone () 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 ()
 
ObjectGroupoperator= (const ObjectGroup &rhs)
 
bool operator== (const ObjectGroup &rhs) const
 
void swap (ObjectGroup &rhs)
 

Constructor & Destructor Documentation

◆ ConnectionDifference() [1/2]

◆ ConnectionDifference() [2/2]

◆ ~ConnectionDifference()

~ConnectionDifference ( )
overridedefault

Member Function Documentation

◆ addToOperationDifference()

size_t addToOperationDifference ( OperationDifference opDiff) const
overridevirtual

Reimplemented from ElementDifference.

◆ clone()

ConnectionDifference * clone ( ) const
overridevirtual

Cloning

Implements ObjectGroup.

◆ getDestinationInputIndex()

const int & getDestinationInputIndex ( ) const

◆ getDestinationInputLabel()

const QString & getDestinationInputLabel ( ) const

◆ getDestinationOperationGUID()

const QString & getDestinationOperationGUID ( ) const

◆ getDestinationOperationLabel()

const QString & getDestinationOperationLabel ( ) const

◆ getSourceOutputLabel()

const QString & getSourceOutputLabel ( ) const

◆ operator=()

ConnectionDifference & operator= ( const ConnectionDifference rhs)

Assignment

◆ operator==()

bool operator== ( const ConnectionDifference rhs) const

Comparison

◆ setDestinationInputIndex()

void setDestinationInputIndex ( const int &  destinationInputIndex)

◆ setDestinationInputLabel()

void setDestinationInputLabel ( const QString &  destinationInputLabel)

◆ setDestinationOperationGUID()

void setDestinationOperationGUID ( const QString &  destinationOperationGUID)

◆ setDestinationOperationLabel()

void setDestinationOperationLabel ( const QString &  destinationOperationLabel)

◆ setSourceOutputLabel()

void setSourceOutputLabel ( const QString &  sourceOutputLabel)

◆ toString()

QString toString ( ) const
overridevirtual

Reimplemented from ItemDifference.