102 BoolField *_postErrorIfDifferenceIsFoundFld;
145 BoolField *_removeIgnoreIdsInAddedTagsFld;
150 BoolField *_cleanupEmptyTreesInAddedTagsFld;
153 BoolField *_removeIgnoreIdsInRemovedTagsFld;
158 BoolField *_cleanupEmptyTreesInRemovedTagsFld;
187 BoolField *_clearDICOMCachesBeforeCompareFld;
Project global and OS specific declarations.
#define ML_DICOM_ANALYSIS_EXPORT
DLL export macro definition.
Field to encapsulate a pointer to an ML base object.
Field to encapsulate a boolean value.
ML module class to compare two DCMTrees, to display the differences and to post errors if the differe...
void _resetResultFields()
Reset result fields to default state.
std::string _updateResultFields(DCMTree::Const_TreePtr input1Tags, DCMTree::Const_TreePtr input2Tags, DCMTree::TreePtr unchangedTags, DCMTree::TreePtr addedTags, DCMTree::TreePtr removedTags, DCMTree::TreePtr changedTags)
Update the result fields according to the current comparison results and display settings.
void activateAttachments() override
Handles changes which were applied without notifications.
void _compare(DCMTree::Const_TreePtr inTree1, DCMTree::Const_TreePtr inTree2)
Compare inTree1 and inTree2 and update the result fields.
void handleNotification(Field *field) override
Handles field changes.
DicomTreeCompare()
Constructor.
std::string _getDifferenceDescription(const std::string &givenString, const std::string &expectedString)
Compares givenString with expectedString and returns "" on equality, otherwise it returns a descripti...
Field to encapsulate an enumerated value.
Base class for all fields used in the ML.
Field to encapsulate an integer value.
Base class for an image processing module of the ML.
Field without value for notifications.
Field to encapsulate a string value.
#define ML_MODULE_CLASS_HEADER(className)
Like ML_CLASS_HEADER for the usage of derived classes from Module.
Target mlrange_cast(Source arg)
Generic version of checked ML casts.
boost::shared_ptr< const Tree > Const_TreePtr
boost::shared_ptr< Tree > TreePtr
shared pointer to a DCMTree::Tree