Medical Imaging Interaction Toolkit  2018.4.99-1bab67a2
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 {
43  {
44  using ListType = std::vector<std::string>;
45 
46  bool operator()(IOUtil::LoadInfo &loadInfo) const override;
47 
49  PreferenceListReaderOptionsFunctor(const ListType& preference, const ListType& black);
50 
51  protected:
54  };
55 }
56 
57 #endif // MITKWHITELISTREADEROPTIONSFUNCTOR_H
Option callback functor with a preference list/ black list option selection strategy.
#define MITKCORE_EXPORT
DataCollection - Class to facilitate loading/accessing structured data.