28 enum { NumSpecialCharacterSetStrings = 15 };
31 static const char *
const SpecialCharacterSetStrings[NumSpecialCharacterSetStrings];
Project global and OS specific declarations.
#define MLDICOMTAGINTERFACES_EXPORT
DLL export macro definition.
Field to encapsulate a boolean value.
Manages the module field interface according to DICOM General Equipment, C.7.5.1.
The class DicomModifyFieldAddOnBase is dedicated to manage fields for ML modules and instances derive...
Manages the module field interface according to SOP Common Module shown in DICOM Table 12-1.
std::string checkConsistency() const override
Checks for invalid parameters; return textual description on error, or empty string on success; requi...
std::string applyModifications(DCMTree::TreePtr dcmTree, const FieldContainer *treeInfos=nullptr) override
See DicomModifyFieldAddOnBase::applyModifications() for documentation; adds field values as tags to d...
BoolField & getInheritSpecificCharacterSetFld()
void inheritValues(DCMTree::Const_TreePtr dcmTree) override
Implements the copy of tag values from the given dcmTree to the fields.
const StringField & getSopInstanceUIDFld() const
StringField & getSopClassUIDFld()
Access interface to members; see corresponding member for details.
FieldAddOnBase::FieldChangeState handleFieldChanges(Field *field) override
Handle field notifications according to Module::activateAttachments with a return of field change sta...
StringField * _specificCharacterSetFld
The Specific Character Set (0008,0005) of the SOP Instance Reference Macro, Table 12-1.
BoolField * _useMMSUIDPrefixFld
Usually true but can be set false to create SOPInstanceUIDs with FMEGeneralUIDPrefixString instead of...
DicomGeneralEquipmentModuleTagInterface _generalEquipmentForContributingEquipmentSettings
Makes General Equipment configurable for the case that an entry in the ContributingEquipmentSequence ...
const DicomGeneralEquipmentModuleTagInterface & getGeneralEquipmentForContributingEquipmentSettings() const
DicomGeneralEquipmentModuleTagInterface & getGeneralEquipmentForContributingEquipmentSettings()
ContributingEquipmentSettings _contributingEquipmentSettings
Buffer object for the settings of the input DCMTree on inheritance.
StringField * _sopInstanceUIDFld
The SOP Instance UID tag of the SOP Instance Reference Macro, Table 12-1.
void handleFieldActivationChanges() override
Handle class changes according to Module::activateAttachments.
ContributingEquipmentSettings & getContributingEquipmentSettings()
const BoolField & getUseMMSUIDPrefixFld() const
StringField * _sopClassUIDFld
The SOP Class UID tag of the SOP Instance Reference Macro, Table 12-1.
const ContributingEquipmentSettings & getContributingEquipmentSettings() const
BoolField * _inheritSpecificCharacterSetFld
Inherit settings related to Specific Character Set (0008,0005); if true then _specificCharacterSetFld...
BoolField * _writeSpecificCharacterSetFld
Save Specific Character Set (0008,0005) value if true.
StringField & getSopInstanceUIDFld()
const BoolField & getInheritSpecificCharacterSetFld() const
const NotifyField & getSetDefaultSpecificCharacterSetFld() const
BoolField & getCreateOrExtendContributingEquipmentSequenceFld()
const BoolField & getCreateOrExtendContributingEquipmentSequenceFld() const
const BoolField & getWriteSpecificCharacterSetFld() const
BoolField & getUseMMSUIDPrefixFld()
void addFields() override
Add fields to field container of module.
NotifyField & getSetDefaultSpecificCharacterSetFld()
NotifyField * _setDefaultSpecificCharacterSetFld
Sets the recommended "ISO_IR 192" character set as default which matches the internal UTF-8 coding in...
BoolField * _createOrExtendContributingEquipmentSequenceFld
If enabled then a new entry in the Contributing Equipment Sequence (0018,A001) is generated and fille...
const StringField & getSopClassUIDFld() const
DicomSOPCommonModuleTagInterface(Module &modRef, const std::string &sopClassUID)
Constructor, setting the reference of the module for which the fields shall be managed; the SOP CLass...
BoolField & getWriteSpecificCharacterSetFld()
const std::string _sopClassUID
Stored sopClassUID constructor parameter.
FieldChangeState
Describes the type of a field changes detected in handleFieldChanges(Field *field).
Defines the class FieldContainer to encapsulate a vector of fields for (see class Field).
Base class for all fields used in the ML.
Base class for an image processing module of the ML.
Field without value for notifications.
Field to encapsulate a string value.
Helper class to inherit, buffer and set an entry of a Contributing Equipment Sequence (0018,...
Header file for the ML module base class DicomGeneralEquipmentModuleTagInterface.
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
Helper class to inherit, buffer and set an entry of a Contributing Equipment Sequence (0018,...