MeVisLab Toolbox Reference
mlDicomModifySequenceFieldAddOn.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 DicomModifySequenceFieldAddOn(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 *> _tagIdFld;
46 
48  std::vector<StringField *> _modificationValueFld;
49 
51  std::vector<EnumField *> _modificationModeFld;
52 
54  std::vector<BoolField *> _isValidIdFld;
55 
57 
62 };
63 
64 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 DicomModifyOrdinary t...
void addFields() override
Add fields to field container of module.
void handleFieldActivationChanges() override
Handle class changes according to Module::activateAttachments.
DicomModifySequenceFieldAddOn(FieldContainer &fieldContainerRef, size_t numInstances=1)
See DicomModifyFieldAddOnBase::DicomModifyFieldAddOnBase(fieldContainerRef, numInstances).
FieldAddOnBase::FieldChangeState handleFieldChanges(Field *field) override
Handle field notifications.
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...