|
Medical Imaging Interaction Toolkit
2026.06.00
Medical Imaging Interaction Toolkit
|
Represents a single candidate file reader with associated metadata. More...
#include <mitkFileReaderSelector.h>
Public Member Functions | |
| Item (const Item &other) | |
| Copy constructor. More... | |
| ~Item () | |
| Item & | operator= (const Item &other) |
| Copy assignment operator. More... | |
| IFileReader * | GetReader () const |
| Get the IFileReader instance for this item. More... | |
| std::string | GetDescription () const |
| Get the human-readable description of this reader. More... | |
| IFileReader::ConfidenceLevel | GetConfidenceLevel () const |
| Get the confidence level of this reader for the given file. More... | |
| MimeType | GetMimeType () const |
| Get the mime-type associated with this reader item. More... | |
| us::ServiceReference< IFileReader > | GetReference () const |
| Get the service reference for this reader. More... | |
| long | GetServiceId () const |
| Get the service id for this reader. More... | |
| bool | operator< (const Item &other) const |
| Compare two items for sorting. More... | |
Represents a single candidate file reader with associated metadata.
Items are comparable and sorted by confidence level, mime-type rank, and service ranking. The best-matching item sorts last (highest).
Definition at line 54 of file mitkFileReaderSelector.h.
| mitk::FileReaderSelector::Item::Item | ( | const Item & | other | ) |
Copy constructor.
| [in] | other | The Item to copy. |
| mitk::FileReaderSelector::Item::~Item | ( | ) |
| IFileReader::ConfidenceLevel mitk::FileReaderSelector::Item::GetConfidenceLevel | ( | ) | const |
Get the confidence level of this reader for the given file.
| std::string mitk::FileReaderSelector::Item::GetDescription | ( | ) | const |
Get the human-readable description of this reader.
| MimeType mitk::FileReaderSelector::Item::GetMimeType | ( | ) | const |
Get the mime-type associated with this reader item.
| IFileReader* mitk::FileReaderSelector::Item::GetReader | ( | ) | const |
Get the IFileReader instance for this item.
nullptr if unavailable. | us::ServiceReference<IFileReader> mitk::FileReaderSelector::Item::GetReference | ( | ) | const |
Get the service reference for this reader.
| long mitk::FileReaderSelector::Item::GetServiceId | ( | ) | const |
Get the service id for this reader.
| bool mitk::FileReaderSelector::Item::operator< | ( | const Item & | other | ) | const |
Compare two items for sorting.
| [in] | other | The Item to compare with. |
true if this item ranks lower than other.Sorting order (ascending): confidence level, then mime-type rank, then service ranking. The best match sorts last.