MeVisLab Toolbox Reference
mlDicomModifyPrivateRemoveFieldAddOn.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 DicomModifyPrivateRemoveFieldAddOn(FieldContainer &fieldContainerRef, size_t numInstances=1):
29  DicomModifyFieldAddOnBase(fieldContainerRef, numInstances){};
30 
32  void addFields() override;
33 
36 
39 
40 private:
41 
43 
45  std::vector<StringField *> _privateCreatorFld;
46 
48  std::vector<StringField *> _tagIdFld;
49 
51  std::vector<StringField *> _modificationValueFld;
52 
54  std::vector<EnumField *> _modificationModeFld;
55 
57  std::vector<BoolField *> _isValidIdFld;
59 
64 };
65 
66 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...
DicomModifyFieldAddOnBase class managing fields to represent functionality from DicomModifyPrivate to...
FieldAddOnBase::FieldChangeState handleFieldChanges(Field *field) override
Handle field notifications.
void addFields() override
Add fields to field container of module.
DicomModifyPrivateRemoveFieldAddOn(FieldContainer &fieldContainerRef, size_t numInstances=1)
See DicomModifyFieldAddOnBase::DicomModifyFieldAddOnBase(fieldContainerRef, numInstances).
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...