Medical Imaging Interaction Toolkit  2016.11.0
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 33 of file mitkFileReaderSelector.h.

Constructor & Destructor Documentation

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

Definition at line 52 of file mitkFileReaderSelector.cpp.

mitk::FileReaderSelector::~FileReaderSelector ( )

Definition at line 128 of file mitkFileReaderSelector.cpp.

Member Function Documentation

std::vector< FileReaderSelector::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

Definition at line 137 of file mitkFileReaderSelector.cpp.

Referenced by GetDefault(), GetSelected(), and QmitkFileReaderOptionsDialog::QmitkFileReaderOptionsDialog().

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

Definition at line 150 of file mitkFileReaderSelector.cpp.

FileReaderSelector::Item mitk::FileReaderSelector::GetDefault ( ) const

Definition at line 160 of file mitkFileReaderSelector.cpp.

References Get().

long mitk::FileReaderSelector::GetDefaultId ( ) const

Definition at line 161 of file mitkFileReaderSelector.cpp.

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

Definition at line 136 of file mitkFileReaderSelector.cpp.

FileReaderSelector::Item mitk::FileReaderSelector::GetSelected ( ) const

Definition at line 162 of file mitkFileReaderSelector.cpp.

References Get().

long mitk::FileReaderSelector::GetSelectedId ( ) const
bool mitk::FileReaderSelector::IsEmpty ( ) const

Definition at line 135 of file mitkFileReaderSelector.cpp.

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

Definition at line 129 of file mitkFileReaderSelector.cpp.

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

Definition at line 164 of file mitkFileReaderSelector.cpp.

Referenced by QmitkFileReaderOptionsDialog::accept().

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

Definition at line 165 of file mitkFileReaderSelector.cpp.

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

Definition at line 179 of file mitkFileReaderSelector.cpp.

References us::ExplicitlySharedDataPointer< T >::Swap().

Referenced by mitk::swap().


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