Medical Imaging Interaction Toolkit  2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
mitk::FileReaderSelector Class Reference

#include <mitkFileReaderSelector.h>

Classes

class  Item
 

Public Member Functions

 FileReaderSelector (const FileReaderSelector &other)
 
 FileReaderSelector (const std::string &path)
 
 ~FileReaderSelector ()
 
FileReaderSelectoroperator= (const FileReaderSelector &other)
 
bool IsEmpty () const
 
std::vector< MimeTypeGetMimeTypes () const
 
std::vector< ItemGet () const
 Get a sorted list of file reader items. More...
 
Item Get (long id) const
 
Item GetDefault () const
 
long GetDefaultId () const
 
Item GetSelected () const
 
long GetSelectedId () const
 
bool Select (const Item &item)
 
bool Select (long id)
 
void Swap (FileReaderSelector &fws)
 

Detailed Description

Definition at line 29 of file mitkFileReaderSelector.h.

Constructor & Destructor Documentation

◆ FileReaderSelector() [1/2]

mitk::FileReaderSelector::FileReaderSelector ( const FileReaderSelector other)

◆ FileReaderSelector() [2/2]

mitk::FileReaderSelector::FileReaderSelector ( const std::string &  path)

◆ ~FileReaderSelector()

mitk::FileReaderSelector::~FileReaderSelector ( )

Member Function Documentation

◆ Get() [1/2]

std::vector<Item> mitk::FileReaderSelector::Get ( ) const

Get a sorted list of file reader items.

  1. Confidence level (ascending)
  2. MimeType ordering (ascending)
  3. File Reader service ranking (ascending)

This means the best matching item is at the back of the returned container.

Returns

◆ Get() [2/2]

Item mitk::FileReaderSelector::Get ( long  id) const

◆ GetDefault()

Item mitk::FileReaderSelector::GetDefault ( ) const

◆ GetDefaultId()

long mitk::FileReaderSelector::GetDefaultId ( ) const

◆ GetMimeTypes()

std::vector<MimeType> mitk::FileReaderSelector::GetMimeTypes ( ) const

◆ GetSelected()

Item mitk::FileReaderSelector::GetSelected ( ) const

◆ GetSelectedId()

long mitk::FileReaderSelector::GetSelectedId ( ) const

◆ IsEmpty()

bool mitk::FileReaderSelector::IsEmpty ( ) const

◆ operator=()

FileReaderSelector& mitk::FileReaderSelector::operator= ( const FileReaderSelector other)

◆ Select() [1/2]

bool mitk::FileReaderSelector::Select ( const Item item)

◆ Select() [2/2]

bool mitk::FileReaderSelector::Select ( long  id)

◆ Swap()

void mitk::FileReaderSelector::Swap ( FileReaderSelector fws)

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