40 class DicomDOCSaveAddOnPointers;
Project global and OS specific declarations.
#define MLDICOMOUTPUTS_EXPORT
DLL export macro definition.
void handleNotification(Field *field) override
Handles field changes of the field field.
virtual ~DicomDOCSave()
Destructor.
void activateAttachments() override
Updates the internal module state after loading or cloning the module, and enables notification handl...
_DOCFieldAddOnListType _fieldAddOnList
Container which handles all internally used DicomModifyFieldAddOns.
ML_MODULE_CLASS_HEADER(DicomDOCSave)
Implements interface for the runtime type system of the ML.
StringField * _documentFileNameFld
Absoplute file name of document to be loaded and stored in DICOM file.
std::string _setUpTreeContent() override
Sets the Enhanced DICOM tags in the tree; required that checkConsistency returns success.
std::string _addEncapsulatedDocumentTags(DCMTree::TreePtr resultTree)
Sets the tags EncapsulatedDocument and related tags and returns an empty string on success,...
DicomDOCSave()
Constructor.
EnumField * _docTypeFld
The document type to be exported.
void _removeUndesiredInputTags(DCMTree::TreePtr resultTree) const
Remove tags from tree which could disturb the correct interpretation of the written DICOM file.
std::string _checkConsistency() const override
Checks for invalid parameters and return a textual description of the error if there is any,...
void _inheritFieldValuesFromDCMTree(DCMTree::Const_TreePtr dcmTree) override
Overloads base class field inheritance and adds the additional tags needed by this class.
Field to encapsulate an enumerated value.
Base class for all fields used in the ML.
Field to encapsulate a string value.
Header file of the DicomModifyFieldAddOnBase class dedicated to manage fields for ML modules and inst...
Header file of a class managing many DicomModifFieldAddOns to simplify usage of multiple AddOns.
Header file for the ML module base class DicomSaveBase.
boost::shared_ptr< const Tree > Const_TreePtr
boost::shared_ptr< Tree > TreePtr
Shared pointer to a DCMTree::Tree.
DicomModifyFieldAddOnList< DicomModifyFieldAddOnBase, DicomDOCSaveAddOnPointers * > _DOCFieldAddOnListType
Container type which handles all internally used DicomModifyFieldAddOns.