Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitk::IOUtil::WriterOptionsFunctorBase Struct Referenceabstract

Base class for option callbacks used in save operations. More...

#include <mitkIOUtil.h>

Public Member Functions

virtual bool operator() (SaveInfo &saveInfo) const =0
 Callback operator invoked during save to configure writer options. More...
 

Detailed Description

Base class for option callbacks used in save operations.

The callback is used by IOUtil if more than one suitable writer was found or a writer contains options that can be set. The callback allows changing option settings and selecting the writer that should be used (via saveInfo).

Definition at line 125 of file mitkIOUtil.h.

Member Function Documentation

◆ operator()()

virtual bool mitk::IOUtil::WriterOptionsFunctorBase::operator() ( SaveInfo &  saveInfo) const
pure virtual

Callback operator invoked during save to configure writer options.

Parameters
saveInfoReference to the SaveInfo struct for the current save operation.
Returns
True if saving should proceed, false to cancel.

The documentation for this struct was generated from the following file: