MeVisLab Toolbox Reference
mlDicomModifySOPCommonModuleFieldAddOn.h
Go to the documentation of this file.
1// Copyright (c) Fraunhofer MEVIS, Germany. All rights reserved.
2// **InsertLicense** code
3//----------------------------------------------------------------------------------
4//
5// NOTE:
6// This file has been generated automatically by
7// FMEwork/ReleaseMeVis/Configuration/CodeGenerators/dcmtkToMLConverter/convertDcmtkToML.py
8// using the template file
9// FMEwork/ReleaseMeVis/Configuration/CodeGenerators/dcmtkToMLConverter/MLDicomModifyFieldAddOns/templates/DicomModifyFieldAddOn.h
10//
11// Destination project:
12// FMEwork/ReleaseMeVis/Sources/Shared/MLDicomModifyFieldAddOns
13//
14//----------------------------------------------------------------------------------
16
21//----------------------------------------------------------------------------------
22#ifndef __mlDicomModifySOPCommonModuleFieldAddOn_H
23#define __mlDicomModifySOPCommonModuleFieldAddOn_H
24
27
29
32{
33public:
37 void addFields() override;
38 virtual std::string applyModifications(DCMTree::TreePtr dcmTree,
39 const FieldContainer *treeInfos=NULL) override;
40 void inheritValues(DCMTree::Const_TreePtr dcmTree) override;
41 std::string checkConsistency() const override;
42
43private:
44 void addModifiers();
45 void updateModifiers();
46
47 BoolField *_modifyAuthorizationEquipmentCertificationNumberField;
48 StringField *_AuthorizationEquipmentCertificationNumberField;
49 BoolField *_modifyOriginalSpecializedSOPClassUIDField;
50 StringField *_OriginalSpecializedSOPClassUIDField;
51 BoolField *_modifyRelatedGeneralSOPClassUIDField;
52 StringField *_RelatedGeneralSOPClassUIDField;
53 BoolField *_modifySOPAuthorizationCommentField;
54 StringField *_SOPAuthorizationCommentField;
55 BoolField *_modifySOPAuthorizationDateTimeField;
56 StringField *_SOPAuthorizationDateTimeField;
57 BoolField *_modifySOPClassUIDField;
58 StringField *_SOPClassUIDField;
59 BoolField *_modifySOPInstanceStatusField;
60 StringField *_SOPInstanceStatusField;
61 BoolField *_modifySpecificCharacterSetField;
62 StringField *_SpecificCharacterSetField;
63 BoolField *_autoCreateInstanceCreatorUIDField;
64 BoolField *_modifyInstanceCreatorUIDField;
65 StringField *_InstanceCreatorUIDField;
66 BoolField *_autoCreateSOPInstanceUIDField;
67 BoolField *_modifySOPInstanceUIDField;
68 StringField *_SOPInstanceUIDField;
69 BoolField *_setInstanceCreationDateToNowField;
70 BoolField *_modifyInstanceCreationDateField;
71 StringField *_InstanceCreationDateField;
72 BoolField *_setInstanceCreationTimeToNowField;
73 BoolField *_modifyInstanceCreationTimeField;
74 StringField *_InstanceCreationTimeField;
75 BoolField *_setTimezoneOffsetFromUTCAutomaticallyField;
76 BoolField *_modifyTimezoneOffsetFromUTCField;
77 StringField *_TimezoneOffsetFromUTCField;
78 BoolField *_copyCodingSchemeIdentificationSequenceField;
79 BoolField *_copyContributingEquipmentSequenceField;
80 BoolField *_copyDigitalSignaturesSequenceField;
81 BoolField *_copyEncryptedAttributesSequenceField;
82 BoolField *_copyHL7StructuredDocumentReferenceSequenceField;
83 BoolField *_copyMACParametersSequenceField;
84 BoolField *_copyOriginalAttributesSequenceField;
85
87};
88
90
91#endif
Project global and OS specific declarations.
#define MLDICOMMODIFYFIELDADDONS_EXPORT
Field to encapsulate a boolean value.
Definition mlFields.h:58
DicomModifySOPCommonModuleFieldAddOn(FieldContainer &fieldContainer, bool createInputModifyTagsPluginBaseConnectorField=false, bool createOutputModifyTagsPluginBaseConnectorField=false)
void addFields() override
Add fields to field container of the FieldAddOn.
std::string checkConsistency() const override
Checks for invalid parameters; return textual description on error, or empty string on success.
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...
void inheritValues(DCMTree::Const_TreePtr dcmTree) override
Can be used to implement the copy of tag values from the given dcmTree to the fields.
Defines the class FieldContainer to encapsulate a vector of fields for (see class Field).
Field to encapsulate a string value.
Definition mlFields.h:610
#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
Definition DCMTree_Lib.h:73
boost::shared_ptr< Tree > TreePtr
shared pointer to a DCMTree::Tree
Definition DCMTree_Lib.h:72