22#ifndef __mlDicomModifyGeneralEquipmentModuleFieldAddOn_H
23#define __mlDicomModifyGeneralEquipmentModuleFieldAddOn_H
45 void updateModifiers();
47 BoolField *_modifyDeviceSerialNumberField;
51 BoolField *_modifyInstitutionAddressField;
55 BoolField *_modifyInstitutionalDepartmentNameField;
59 BoolField *_modifyManufacturerModelNameField;
69 BoolField *_setDateOfLastCalibrationToNowField;
70 BoolField *_modifyDateOfLastCalibrationField;
72 BoolField *_setTimeOfLastCalibrationToNowField;
73 BoolField *_modifyTimeOfLastCalibrationField;
Project global and OS specific declarations.
#define MLDICOMMODIFYFIELDADDONS_EXPORT
Field to encapsulate a boolean value.
virtual std::string applyModifications(DCMTree::TreePtr dcmTree, const FieldContainer *treeInfos=NULL) override
Applies first the changes to the dcmTree as described in DicomModifyList::applyModifications() and th...
DicomModifyGeneralEquipmentModuleFieldAddOn(FieldContainer &fieldContainer, bool createInputModifyTagsPluginBaseConnectorField=false, bool createOutputModifyTagsPluginBaseConnectorField=false)
std::string checkConsistency() const override
Checks for invalid parameters; return textual description on error, or empty string on success.
void inheritValues(DCMTree::Const_TreePtr dcmTree) override
Can be used to implement the copy of tag values from the given dcmTree to the fields.
void addFields() override
Add fields to field container of the FieldAddOn.
Defines the class FieldContainer to encapsulate a vector of fields for (see class Field).
Field to encapsulate a string value.
#define ML_ABSTRACT_CLASS_HEADER(className)
Same like ML_ABSTRACT_CLASS_HEADER_EXPORTED with a non existing export symbol.
Extended DicomModifyFieldAddOnBase class providing additionally: -Method to set input dicom tree fiel...
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