Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitk::IOUtil::SaveInfo Struct Reference

Contains information about a save operation for a BaseData object. More...

#include <mitkIOUtil.h>

Collaboration diagram for mitk::IOUtil::SaveInfo:

Public Member Functions

 SaveInfo (const BaseData *baseData, const MimeType &mimeType, const std::string &path)
 Constructor. More...
 
bool operator< (const SaveInfo &other) const
 Comparison operator for ordering SaveInfo objects. More...
 

Public Attributes

const BaseData * m_BaseData
 The BaseData object to save. More...
 
FileWriterSelector m_WriterSelector
 Contains a set of IFileWriter objects. More...
 
MimeType m_MimeType
 The selected mime-type, used to restrict results from FileWriterSelector. More...
 
std::string m_Path
 The path to write the BaseData object to. More...
 
bool m_Cancel
 Flag indicating if sub-sequent save operations are to be canceled. More...
 

Detailed Description

Contains information about a save operation for a BaseData object.

Definition at line 94 of file mitkIOUtil.h.

Constructor & Destructor Documentation

◆ SaveInfo()

mitk::IOUtil::SaveInfo::SaveInfo ( const BaseData *  baseData,
const MimeType &  mimeType,
const std::string &  path 
)

Constructor.

Parameters
baseDataThe BaseData object to save.
mimeTypeThe MIME type for writing.
pathThe file path to write to.

Member Function Documentation

◆ operator<()

bool mitk::IOUtil::SaveInfo::operator< ( const SaveInfo &  other) const

Comparison operator for ordering SaveInfo objects.

Member Data Documentation

◆ m_BaseData

const BaseData* mitk::IOUtil::SaveInfo::m_BaseData

The BaseData object to save.

Definition at line 107 of file mitkIOUtil.h.

◆ m_Cancel

bool mitk::IOUtil::SaveInfo::m_Cancel

Flag indicating if sub-sequent save operations are to be canceled.

Definition at line 116 of file mitkIOUtil.h.

◆ m_MimeType

MimeType mitk::IOUtil::SaveInfo::m_MimeType

The selected mime-type, used to restrict results from FileWriterSelector.

Definition at line 112 of file mitkIOUtil.h.

◆ m_Path

std::string mitk::IOUtil::SaveInfo::m_Path

The path to write the BaseData object to.

Definition at line 114 of file mitkIOUtil.h.

◆ m_WriterSelector

FileWriterSelector mitk::IOUtil::SaveInfo::m_WriterSelector

Contains a set of IFileWriter objects.

Definition at line 110 of file mitkIOUtil.h.


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