Field to encapsulate a pointer to an ML base object.
Base class for all fields used in the ML.
A base class for plugins which can be used by file list importers to filter and classify files.
virtual BaseField & _getInputFilterPluginFld()
Return a reference to the _inputFilterPluginFld.
virtual void postFilterAll(FileAttributeMap &filterAttributeMap) const
This virtual function is called by the FileListTools to provide the option of a post classification o...
virtual void postFilterAll(FileAttributeMap &filterAttributeMap, FilterMessageList *messageList) const
Alternative version of postFilterAll(FileAttributeMap &filterAttributeMap) which allows passing a lis...
void handleNotification(Field *field) override
Handle field changes of the field field, typically of the input field where changes are passes as not...
BaseField & getOutputFilterPluginFld() const
virtual void filterFile(FileListTools::FileAttribute &filterAttributes, FilterMessageList *messageList) const
Alternative version of filterFile(FileListTools::FileAttribute &filterAttributes) which allows passin...
virtual void _callInputPostFilter(FileAttributeMap &filterAttributeMap, FilterMessageList *messageList=nullptr) const
Calls postFilterAll-functionality of connected plugins and is already called by the base class implem...
virtual BaseField & _getOutputFilterPluginFld()
Return a reference to the _outputFilterPluginFld.
BaseField & getInputFilterPluginFld() const
Provide programming access to field interface, see corresponding fields for documentation.
virtual const FileListFilterPluginBase * getConnectedInputFilterPlugin() const
Returns a connected input plugin if there is one; otherwise nullptr is returned.
std::map< std::string, FileListTools::FileAttribute > FileAttributeMap
A map type assigning an attribute container to file paths.
virtual void _callInputFileFilter(FileListTools::FileAttribute &filterAttributes, FilterMessageList *messageList=nullptr) const
Calls filterFile-functionality of connected plugins and is already called by the base class implement...
virtual void _touchOutputFilterPluginFld()
Convenience method to touch the output fields.
FileListFilterPluginBase(int numIns=0, int numOuts=0)
Constructor. Input and out images are probably not used.
virtual void filterFile(FileListTools::FileAttribute &filterAttributes) const
This virtual function is called by the FileListTools to check whether a file shall be imported.
Base class for an image processing module of the ML.
#define ML_MODULE_CLASS_HEADER(className)
Like ML_CLASS_HEADER for the usage of derived classes from Module.
Header file of helper class to store and handle error messages occuring in filter calls as well as to...
FileListFilterPluginBase DirectDicomImportImportFilterPluginBase
For backward compatibility:
std::list< FilterMessage > FilterMessageList
List of messages which can occur during filter calls.