MeVisLab Toolbox Reference
mlDICOMTreeCompareTools.h
Go to the documentation of this file.
1// Copyright (c) Fraunhofer MEVIS, Germany. All rights reserved.
2// **InsertLicense** code
3//----------------------------------------------------------------------------------
5
10//----------------------------------------------------------------------------------
11#pragma once
12
13#include "MLDICOMTagsSystem.h"
14
15#include <FMEThirdPartyWarningsDisable.h>
16#include <vector>
17#include <FMEThirdPartyWarningsRestore.h>
18
19#include <mlTypeDefs.h>
20
21// DCMTree prototypes
22#include <DCMTree_Lib.h>
23
25
26//----------------------------------------------------------------------------------
28//----------------------------------------------------------------------------------
29namespace DICOMTagTools {
30
47 bool compareMultiplicity=false,
48 bool compareMultiFrameData=true);
49
81 const std::vector<DCMTree::TagId> &idsExcludedFromChanged,
86 bool alsoExcludeFromAdded=false,
87 bool alsoExcludeFromRemoved=false,
88 bool compareRecursively=false,
91 bool compareMultiplicity=false,
93 bool compareMultiFrameData=true);
94
95};
96
Project global and OS specific declarations.
#define MLDICOMTags_EXPORT
If included by external modules, exported symbols are declared as import symbols.
Target mlrange_cast(Source arg)
Generic version of checked ML casts.
boost::shared_ptr< const Tag > Const_TagPtr
Definition DCMTree_Lib.h:63
boost::shared_ptr< const Tree > Const_TreePtr
Definition DCMTree_Lib.h:73
boost::shared_ptr< Tree > TreePtr
shared pointer to a DCMTree::Tree
Definition DCMTree_Lib.h:72
MLDICOMTags_EXPORT bool doTagsEqual(DCMTree::Const_TagPtr tag1, DCMTree::Const_TagPtr tag2, bool compareMultiplicity=false, bool compareMultiFrameData=true)
Compare the given two tags and their contents for equality.
MLDICOMTags_EXPORT void compareDCMTrees(DCMTree::Const_TreePtr inputTree1, DCMTree::Const_TreePtr inputTree2, const std::vector< DCMTree::TagId > &idsExcludedFromChanged, DCMTree::TreePtr &unchangedTags, DCMTree::TreePtr &addedTags, DCMTree::TreePtr &removedTags, DCMTree::TreePtr &changedTags, bool alsoExcludeFromAdded=false, bool alsoExcludeFromRemoved=false, bool compareRecursively=false, bool cleanupEmptyTrailingSequenceTreesInAddedTags=false, bool cleanupEmptyTrailingSequenceTreesInRemovedTags=false, bool compareMultiplicity=false, bool cleanupEmptyTrailingSequenceTreesInChangedTags=true, bool compareMultiFrameData=true)
Compare the given two trees and update the result pointers.