MeVisLab Toolbox Reference
mlDicomModifyOrdinaryFieldAddOn.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"
17 
18 ML_START_NAMESPACE
19 
20 //----------------------------------------------------------------------------------
23 //----------------------------------------------------------------------------------
25 {
26 public:
28  inline DicomModifyOrdinaryFieldAddOn(FieldContainer &fieldContainerRef, size_t numInstances=1):
29  DicomModifyFieldAddOnBase(fieldContainerRef, numInstances){};
30 
32  void addFields() override;
33 
36 
39 
40 private:
42 
44  std::vector<StringField *> _tagIdFld;
45 
47  std::vector<StringField *> _modificationValueFld;
48 
50  std::vector<EnumField *> _modificationModeFld;
51 
53  std::vector<BoolField *> _splitAtBackSlashesFld;
54 
56  std::vector<EnumField *> _otherVRFld;
57 
59  std::vector<BoolField *> _isValidIdFld;
61 
66 };
67 
68 ML_END_NAMESPACE
Project global and OS specific declarations.
#define ML_DICOM_MODIFY_EXPORT
DLL export macro definition.
The class DicomModifyFieldAddOnBase is dedicated to manage fields for ML modules and instances derive...
FieldAddOn class managing fields to represent functionality from DicomModifyOrdinary to modify ordina...
DicomModifyOrdinaryFieldAddOn(FieldContainer &fieldContainerRef, size_t numInstances=1)
See DicomModifyFieldAddOnBase::DicomModifyFieldAddOnBase(fieldContainerRef, numInstances).
void addFields() override
Add fields to the FieldContainer.
FieldAddOnBase::FieldChangeState handleFieldChanges(Field *field) override
Handle field notifications according to Module::handleNotification.
void handleFieldActivationChanges() override
Handle class changes according to Module::activateAttachments.
FieldChangeState
Describes the type of a field changes detected in handleFieldChanges(Field *field).
Defines the class FieldContainer to encapsulate a vector of fields for (see class Field).
Base class for all fields used in the ML.
Definition: mlField.h:73
#define ML_ABSTRACT_CLASS_HEADER(className)
Same like ML_ABSTRACT_CLASS_HEADER_EXPORTED with a non existing export symbol.
Header file of the DicomModifyFieldAddOnBase class dedicated to manage fields for ML modules and inst...