MeVisLab Toolbox Reference
mlDicomTreeValidationBase.h
Go to the documentation of this file.
1 // Copyright (c) Fraunhofer MEVIS, Germany. All rights reserved.
2 // **InsertLicense** code
3 //----------------------------------------------------------------------------------
5 
10 //----------------------------------------------------------------------------------
11 #pragma once
12 
14 #include <mlModuleIncludes.h>
15 #include <DCMTree_Tree.h>
16 #include <DCMTree_TagId.h>
17 
18 ML_START_NAMESPACE
19 
20 //----------------------------------------------------------------------------------
22 //----------------------------------------------------------------------------------
24 public:
25 
28 
31 
33  inline BaseField &getInputDCMTreeValidatorFld() const { return *_inputDCMTreeValidatorFld; }
34 
36  inline BaseField &getOutputDCMTreeValidatorFld() const { return *_outputDCMTreeValidatorFld; }
37 
38 
44  virtual std::string validateDCMTree(DCMTree::Const_TreePtr dcmTree,
45  std::string &warnings);
46 
47 protected:
48 
52 
55 
58 };
59 
60 ML_END_NAMESPACE
Project global and OS specific declarations.
#define ML_DICOM_ANALYSIS_WORK_EXPORT
DLL export macro definition.
Field to encapsulate a pointer to an ML base object.
Definition: mlFields.h:1187
A pure virtual ML module base class to validate a DCMTree which can be cascaded.
DicomTreeValidationBase()
Constructor.
virtual ~DicomTreeValidationBase()
Destructor.
BaseField * _outputDCMTreeValidatorFld
Output connector Base field providing this as object to be used by derived modules.
BaseField & getOutputDCMTreeValidatorFld() const
Access to output base field.
ML_ABSTRACT_MODULE_CLASS_HEADER(DicomTreeValidationBase)
Implements interface for the runtime type system of the ML.
BaseField * _inputDCMTreeValidatorFld
Input connector field for other objects derived from DicomTreeValidationBase to be able to cascade va...
BaseField & getInputDCMTreeValidatorFld() const
Access to input base field.
virtual std::string validateDCMTree(DCMTree::Const_TreePtr dcmTree, std::string &warnings)
Validate dcmTree and return an empty string if no issues are found, otherwise return a description of...
Base class for an image processing module of the ML.
Definition: mlModule.h:156
boost::shared_ptr< const Tree > Const_TreePtr
Definition: DCMTree_Lib.h:73