MeVisLab Toolbox Reference
mlDicomModifyContrastBolusModuleFieldAddOn.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 __mlDicomModifyContrastBolusModuleFieldAddOn_H
23 #define __mlDicomModifyContrastBolusModuleFieldAddOn_H
24 
27 
28 ML_START_NAMESPACE
29 
32 {
33 public:
35  bool createInputModifyTagsPluginBaseConnectorField=false,
36  bool createOutputModifyTagsPluginBaseConnectorField=false);
37  virtual void addFields() override;
38  virtual std::string applyModifications(DCMTree::TreePtr dcmTree,
39  const FieldContainer *treeInfos=NULL) override;
40  virtual void inheritValues(DCMTree::Const_TreePtr dcmTree) override;
41  virtual std::string checkConsistency() const override;
42 
43 private:
44  void addModifiers();
45  void updateModifiers();
46 
47  BoolField *_modifyContrastBolusAgentField;
48  StringField *_ContrastBolusAgentField;
49  BoolField *_modifyContrastBolusIngredientField;
50  StringField *_ContrastBolusIngredientField;
51  BoolField *_modifyContrastBolusIngredientConcentrationField;
52  StringField *_ContrastBolusIngredientConcentrationField;
53  BoolField *_modifyContrastBolusRouteField;
54  StringField *_ContrastBolusRouteField;
55  BoolField *_modifyContrastBolusTotalDoseField;
56  StringField *_ContrastBolusTotalDoseField;
57  BoolField *_modifyContrastBolusVolumeField;
58  StringField *_ContrastBolusVolumeField;
59  BoolField *_modifyContrastFlowDurationField;
60  StringField *_ContrastFlowDurationField;
61  BoolField *_modifyContrastFlowRateField;
62  StringField *_ContrastFlowRateField;
63  BoolField *_setContrastBolusStartTimeToNowField;
64  BoolField *_modifyContrastBolusStartTimeField;
65  StringField *_ContrastBolusStartTimeField;
66  BoolField *_setContrastBolusStopTimeToNowField;
67  BoolField *_modifyContrastBolusStopTimeField;
68  StringField *_ContrastBolusStopTimeField;
69  BoolField *_copyContrastBolusAdministrationRouteSequenceField;
70  BoolField *_copyContrastBolusAgentSequenceField;
71 
73 };
74 
75 ML_END_NAMESPACE
76 
77 #endif
Project global and OS specific declarations.
#define MLDICOMMODIFYFIELDADDONS_EXPORT
Field to encapsulate a boolean value.
Definition: mlFields.h:62
DicomModifyContrastBolusModuleFieldAddOn(FieldContainer &fieldContainer, bool createInputModifyTagsPluginBaseConnectorField=false, bool createOutputModifyTagsPluginBaseConnectorField=false)
virtual void addFields() override
Add fields to field container of the FieldAddOn.
virtual 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...
virtual 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:1000
#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...
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:70