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
16#include <mlTypeDefs.h>
17#include <FMEThirdPartyWarningsDisable.h>
18#include <vector>
19#include <FMEThirdPartyWarningsRestore.h>
20
22
23class DICOMCachedIOFileHandlePlugin;
24
30{
31public:
34
37
39 std::vector<DICOMCachedIOFileHandlePlugin*> &getFileHandlePlugins();
40
42 const std::vector<DICOMCachedIOFileHandlePlugin*> &getConstFileHandlePlugins() const;
43
48
50 static void resetSingleton();
51
52private:
54 std::vector<DICOMCachedIOFileHandlePlugin *> _fileHandlePlugins;
55};
56
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.
Target mlrange_cast(Source arg)
Generic version of checked ML casts.