MeVisLab Toolbox Reference
mlDicomModifyOtherTagOperations.h
Go to the documentation of this file.
1 // Copyright (c) Fraunhofer MEVIS, Germany. All rights reserved.
2 // **InsertLicense** code
3 //----------------------------------------------------------------------------------
7 
12 //----------------------------------------------------------------------------------
13 #pragma once
14 
15 #include "MLDicomModifySystem.h"
16 #include "mlDicomModifyBase.h"
18 
19 ML_START_NAMESPACE
20 
21 //----------------------------------------------------------------------------------
25 //----------------------------------------------------------------------------------
27 public:
28 
30  DicomModifyOtherTagOperations(const std::string &modStrVal = "",
32 
35 
38 
44  std::string applyModifications(DCMTree::TreePtr dcmTree,
45  const FieldContainer *treeInfos=nullptr) override;
46 
47 private:
50 };
51 
52 ML_END_NAMESPACE
Project global and OS specific declarations.
#define ML_DICOM_MODIFY_EXPORT
DLL export macro definition.
A base class which allows the modification of DICOM tags in a (cloned) DICOM tree.
A concrete class derived from DicomModifyBase which allows some operations on tag groups in a (cloned...
DICOMTagTools::OtherTagModificationModes getModificationMode() const
Returns the currently set modification mode.
void setModificationMode(DICOMTagTools::OtherTagModificationModes modMode)
Sets how the tag with given id and modification value shall be modified.
std::string applyModifications(DCMTree::TreePtr dcmTree, const FieldContainer *treeInfos=nullptr) override
Apply a change to dcmTree according to the currently selected _modificationMode.
DicomModifyOtherTagOperations(const std::string &modStrVal="", DICOMTagTools::OtherTagModificationModes modMode=DICOMTagTools::OtherTagDoNotModify)
Constructor setting ModificationStringValue and ModificationMode.
Defines the class FieldContainer to encapsulate a vector of fields for (see class Field).
A collection of tools related to DICOM tags and tree removal and modifications.
Header file of a base class which allows the modification of DICOM tags in a (cloned) DICOM tree.
boost::shared_ptr< Tree > TreePtr
shared pointer to a DCMTree::Tree
Definition: DCMTree_Lib.h:70
OtherTagModificationModes
Available modes for tag modifications.
@ OtherTagDoNotModify
No tag is not modified.