35 bool reuseAlreadyCreatedContentDate=
false,
36 bool reuseAlreadyCreatedContentTime=
false);
Project global and OS specific declarations.
#define MLDICOMTAGINTERFACES_EXPORT
DLL export macro definition.
Manages the module field interface according to DICOM General Image, C.7.6.1.
std::string checkConsistency() const override
Checks for invalid parameters; return textual description on error, or empty string on success.
Field * _instanceNumberFld
Fields.
Field * _contentTimeFld
Content of the corresponding DICOM tag definition.
Field * _contentDateFld
Content of the corresponding DICOM tag definition.
const bool _reuseAlreadyCreatedContentTime
If true then the field is expected as already created in the FieldContainer and only shall be reused ...
void inheritValues(DCMTree::Const_TreePtr dcmTree) override
Implements the copy of tag values from the given dcmTree to the fields.
DicomGeneralImageModuleTagInterface(Module &modRef, bool reuseAlreadyCreatedContentDate=false, bool reuseAlreadyCreatedContentTime=false)
Constructor, setting the reference of the module for which the fields shall be managed.
const bool _reuseAlreadyCreatedContentDate
If true then the field is expected as already created in the FieldContainer and only shall be reused ...
void addFields() override
Add fields to field container of module.
std::string applyModifications(DCMTree::TreePtr dcmTree, const FieldContainer *treeInfos=nullptr) override
See DicomModifyFieldAddOnBase::applyModifications() for documentation.
StringField * _patientOrientationFld
Content of the corresponding DICOM tag definition.
The class DicomModifyFieldAddOnBase is dedicated to manage fields for ML modules and instances derive...
Defines the class FieldContainer to encapsulate a vector of fields (see class Field).
Base class for all fields used in the ML.
Base class for an image processing module of the ML.
Field to encapsulate a string value.
Header file of the DicomModifyFieldAddOnBase class dedicated to manage fields for ML modules and inst...
boost::shared_ptr< const Tree > Const_TreePtr
boost::shared_ptr< Tree > TreePtr
Shared pointer to a DCMTree::Tree.