38 bool useAsEnhanced=
false,
40 const std::string &fieldSuffix=
"");
Project global and OS specific declarations.
#define MLDICOMTAGINTERFACES_EXPORT
DLL export macro definition.
Manages the module field interface according to DICOM General Equipment, C.7.5.1.
const bool _useAsEnhanced
If true then all tags are considered as mandatory, otherwise as types 2 or 3; this makes differences ...
DicomValueInheritAndCreateTagInterface softwareVersionsAddOn
As the corresponding DICOM tag definition managed as FieldAddOn.
DefaultSetUpMode
Modes how the default instance is initialized.
void addFields() override
Add fields to field container of module.
DicomValueInheritAndCreateTagInterface manufacturersModelNameAddOn
Manufacturer's model name of the equipment that produced the file; using a FieldAddOn to manage it.
void inheritValues(DCMTree::Const_TreePtr dcmTree) override
Implements the copy of tag values from the given dcmTree to the fields.
std::string applyModifications(DCMTree::TreePtr dcmTree, const FieldContainer *treeInfos=nullptr) override
See DicomModifyFieldAddOnBase::applyModifications() for documentation.
DicomValueInheritAndCreateTagInterface deviceSerialNumberAddOn
As the corresponding DICOM tag definition managed as FieldAddOn.
DicomValueInheritAndCreateTagInterface manufacturerAddOn
Company creating the file; using a FieldAddOn to manage it.
FieldAddOnBase::FieldChangeState handleFieldChanges(Field *field) override
Handle field notifications.
DicomGeneralEquipmentModuleTagInterface(Module &modRef, bool useAsEnhanced=false, DefaultSetUpMode defaultSetUpMode=Create, const std::string &fieldSuffix="")
Constructor, setting the reference of the module for which the fields shall be managed.
DicomCopyTagSetInterface otherGeneralEquipmentTags
All other General Equipment tags not available in the interface.
DefaultSetUpMode _defaultSetUpMode
How to initialize the AddOn on (field) creation time.
std::string checkConsistency() const override
Checks for invalid parameters; return textual description on error, or empty string on success.
The class DicomModifyFieldAddOnBase is dedicated to manage fields for ML modules and instances derive...
FieldAddOn class supporting inheritance and auto creating tag values (for example DICOM UIDs or tag v...
FieldChangeState
Describes the type of a field changes detected in handleFieldChanges(Field *field).
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.
Header file of the DicomModifyFieldAddOnBase class dedicated to manage fields for ML modules and inst...
Header file for the FieldAddOn supporting inheritance and auto creating tag values (for example DICOM...
boost::shared_ptr< const Tree > Const_TreePtr
boost::shared_ptr< Tree > TreePtr
Shared pointer to a DCMTree::Tree.