MeVisLab Toolbox Reference
mlDicomModifyOtherTagOperationsFieldAddOn.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 DicomModifyOtherTagOperationsFieldAddOn(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 *> _modificationValueFld;
45 
47  std::vector<EnumField *> _modificationModeFld;
49 
54 };
55 
56 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 DicomModifyOtherTagOperations to mod...
FieldAddOnBase::FieldChangeState handleFieldChanges(Field *field) override
Handle field notifications.
void handleFieldActivationChanges() override
Handle class changes according to Module::activateAttachments.
void addFields() override
Add fields to field container of module.
DicomModifyOtherTagOperationsFieldAddOn(FieldContainer &fieldContainerRef, size_t numInstances=1)
See DicomModifyFieldAddOnBase::DicomModifyFieldAddOnBase(fieldContainerRef, numInstances).
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...