Medical Imaging Interaction Toolkit  2023.04.99-859410e3
Medical Imaging Interaction Toolkit
mitk::MitkCESTIOMimeTypes::MitkCESTDicomWOMetaFileMimeType Class Reference

#include <mitkCESTIOMimeTypes.h>

Inheritance diagram for mitk::MitkCESTIOMimeTypes::MitkCESTDicomWOMetaFileMimeType:
Collaboration diagram for mitk::MitkCESTIOMimeTypes::MitkCESTDicomWOMetaFileMimeType:

Public Member Functions

 MitkCESTDicomWOMetaFileMimeType ()
bool AppliesTo (const std::string &path) const override
 Checks if the MimeType can handle file at the given location. More...
MitkCESTDicomWOMetaFileMimeTypeClone () const override
- Public Member Functions inherited from mitk::IOMimeTypes::BaseDicomMimeType
 BaseDicomMimeType (const std::string &name)
 BaseDicomMimeType (const BaseDicomMimeType &other)=default
bool AppliesTo (const std::string &path) const override
 Checks if the MimeType can handle file at the given location. More...
BaseDicomMimeTypeClone () const override
- Public Member Functions inherited from mitk::CustomMimeType
 CustomMimeType ()
 CustomMimeType (const std::string &name)
 CustomMimeType (const CustomMimeType &other)
 CustomMimeType (const MimeType &other)
virtual ~CustomMimeType ()
CustomMimeTypeoperator= (const CustomMimeType &other)
CustomMimeTypeoperator= (const MimeType &other)
std::string GetName () const
 Returns the unique name for the MimeType. More...
std::string GetCategory () const
 Returns the human-readable Category of the mime-type. Allows grouping of similar mime-types (like Surfaces) More...
std::vector< std::string > GetExtensions () const
 Returns all extensions that this MimeType can handle. More...
std::string GetComment () const
 Returns the Human readable comment of the MimeType, a string that describes its unique role. More...
bool MatchesExtension (const std::string &path) const
 Checks if the MimeType can handle the extension of the given path. More...
std::string GetExtension (const std::string &path) const
 Provides the first matching extension. More...
std::string GetFilenameWithoutExtension (const std::string &path) const
 Provides the filename minus the extension. More...
void SetName (const std::string &name)
void SetCategory (const std::string &category)
void SetExtension (const std::string &extension)
void AddExtension (const std::string &extension)
void SetComment (const std::string &comment)
void Swap (CustomMimeType &r)

Detailed Description

Mime type that indicated dicom files that can be potantially read as Generic CEST but have NO CEST meta information.

The mime type is used to offer the manual CEST loading for all DICOM images with low priority if no CEST meta file is present.

Definition at line 64 of file mitkCESTIOMimeTypes.h.

Constructor & Destructor Documentation

◆ MitkCESTDicomWOMetaFileMimeType()

mitk::MitkCESTIOMimeTypes::MitkCESTDicomWOMetaFileMimeType::MitkCESTDicomWOMetaFileMimeType ( )

Member Function Documentation

◆ AppliesTo()

bool mitk::MitkCESTIOMimeTypes::MitkCESTDicomWOMetaFileMimeType::AppliesTo ( const std::string &  path) const

Checks if the MimeType can handle file at the given location.

In its base implementation, this function exclusively looks a the given string. However, child classes can override this behaviour and peek into the file.

Reimplemented from mitk::CustomMimeType.

◆ Clone()

MitkCESTDicomWOMetaFileMimeType* mitk::MitkCESTIOMimeTypes::MitkCESTDicomWOMetaFileMimeType::Clone ( ) const

Reimplemented from mitk::CustomMimeType.

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