79 bool _valueMultiplicityCheck;
82 bool _valueRepresentationCheck;
89 bool _checkCommonSettings;
93 bool _warnUnknownEnumeratorItems;
Project global and OS specific declarations.
#define ML_DICOM_ANALYSIS_WORK_EXPORT
DLL export macro definition.
Class implementing some generic DICOM tree checks.
bool isValueSizeCheckOn() const
Returns true if tag value sizes are checked, otherwise false.
DicomTreeDefaultValidation()
Constructor.
void setCheckCommonSettingsOn(bool check)
If true (the default) then a number of common value settings are checked, otherwise not.
void setValueMultiplicityCheckOn(bool check)
If true then the tag value multiplicity is checked, otherwise not; default is false.
virtual std::string validateDCMTree(DCMTree::Const_TreePtr dcmTree, std::string &warnings) override
Applies some basic validation on dcmTree and returns a non empty string if they fail; otherwise an em...
void setValueRepresentationCheckOn(bool check)
If true (the default) then the tag value representation is checked, otherwise not.
bool isCheckCommonSettingsOn() const
Returns true if checks of common settings are enabled, otherwise false.
bool isValueRepresentationCheckOn() const
Returns true if tag value representation is checked, otherwise false.
bool isTypeOneCheckOn() const
Returns true if tag value representation is checked, otherwise false.
void setWarnUnknownEnumeratorItemsOn(bool warn)
If true (the default) then enumerator tag values which are not given as defined terms in the standard...
void setValueSizeCheckOn(bool check)
If true then the size of tag values are checked against allowed sizes.
bool isWarnEnumeratorItemsOn() const
Returns true if unknown enumerator items will be warned, otherwise false.
void setTypeOneCheckOn(bool check)
If true (the default) then the tag value representation is checked, otherwise not.
bool isValueMultiplicityCheckOn() const
Returns true if tag value multiplicity is checked, otherwise false.
A pure virtual ML module base class to validate a DCMTree which can be cascaded.
#define ML_MODULE_CLASS_HEADER(className)
Like ML_CLASS_HEADER for the usage of derived classes from Module.
Header file of a base class providing a member function to validate a DICOM tree.
Target mlrange_cast(Source arg)
Generic version of checked ML casts.
boost::shared_ptr< const Tree > Const_TreePtr