MeVisLab Toolbox Reference
mlDICOMCachedIOFileHandleProvider.h
Go to the documentation of this file.
1 // Copyright (c) Fraunhofer MEVIS, Germany. All rights reserved.
2 // **InsertLicense** code
3 //----------------------------------------------------------------------------------
6 
11 //----------------------------------------------------------------------------------
12 
13 #pragma once
14 
15 #include "MLDICOMCachedIOSystem.h"
16 #include <mlTypeDefs.h>
17 #include <ThirdPartyWarningsDisable.h>
18 #include <vector>
19 #include <ThirdPartyWarningsRestore.h>
20 
21 ML_START_NAMESPACE
22 
23 class DICOMCachedIOFileHandlePlugin;
24 
30 {
31 public:
34 
37 
39  std::vector<DICOMCachedIOFileHandlePlugin*> &getFileHandlePlugins();
40 
42  const std::vector<DICOMCachedIOFileHandlePlugin*> &getConstFileHandlePlugins() const;
43 
48 
50  static void resetSingleton();
51 
52 private:
54  std::vector<DICOMCachedIOFileHandlePlugin *> _fileHandlePlugins;
55 };
56 
57 ML_END_NAMESPACE
Project global and OS specific declarations.
#define MLDICOMCachedIO_EXPORT
If included by external modules, exported symbols are declared as import symbols.
Class for FileHandleProvider for DICOM importing modules.
const std::vector< DICOMCachedIOFileHandlePlugin * > & getConstFileHandlePlugins() const
Returns a const vector of file handle Plugins.
static DICOMCachedIOFileHandleProvider & singleton()
Singleton management: Singleton returning the global DICOMCachedIOFileHandleProvider.
std::vector< DICOMCachedIOFileHandlePlugin * > & getFileHandlePlugins()
Returns a vector of file handle Plugins.
static void resetSingleton()
Destroys/resets the global DICOMCachedIOFileHandleProvider singleton.