Medical Imaging Interaction Toolkit  2025.12.02
Medical Imaging Interaction Toolkit
mitkPreferenceListReaderOptionsFunctor.h
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #ifndef mitkPreferenceListReaderOptionsFunctor_h
14 #define mitkPreferenceListReaderOptionsFunctor_h
15 
16 #include <MitkCoreExports.h>
17 #include <mitkIOUtil.h>
18 
19 #include <vector>
20 #include <string>
21 
22 
23 namespace mitk
24 {
45  {
46  using ListType = std::vector<std::string>;
47 
48  bool operator()(IOUtil::LoadInfo &loadInfo) const override;
49 
51  PreferenceListReaderOptionsFunctor(const ListType& preference, const ListType& black);
53  PreferenceListReaderOptionsFunctor(const ListType& preference, const ListType& black, const IFileReader::Options& options);
54 
55  protected:
59  };
60 }
61 
62 #endif
#define MITKCORE_EXPORT
Find image slices visible on a given plane.
std::map< std::string, us::Any > Options
Options for reading or writing data.
Definition: mitkIFileIO.h:69
Option callback functor with a preference list/ black list option selection strategy.
PreferenceListReaderOptionsFunctor(const ListType &preference, const IFileReader::Options &options)
PreferenceListReaderOptionsFunctor(const ListType &preference, const ListType &black, const IFileReader::Options &options)
bool operator()(IOUtil::LoadInfo &loadInfo) const override
PreferenceListReaderOptionsFunctor(const ListType &preference, const ListType &black)