MeVisLab Toolbox Reference
mlDICOMCachedIOProxies.h
Go to the documentation of this file.
1 // Copyright (c) Fraunhofer MEVIS, Germany. All rights reserved.
2 // **InsertLicense** code
3 //----------------------------------------------------------------------------------
6 
10 //----------------------------------------------------------------------------------
11 #pragma once
12 
13 // Local includes
14 #include "MLDICOMCachedIOSystem.h"
15 
19 
20 //----------------------------------------------------------------------------------
23 //----------------------------------------------------------------------------------
25 
26 public:
27 
32 
34  MLDICOMCachedIOPixelFrameCache &pixelFrameCache() { return *_pixelFrameCacheProxyPtr; }
35 
37  MLDICOMCachedIOTagCache &tagCache() { return *_tagCacheProxyPtr; }
38 
40  MLDICOMCachedIOTreeCache &treeCache() { return *_treeCacheProxyPtr; }
41 
44  MLDICOMCachedIOTagCache &tagCacheConst() const { return *_tagCacheProxyPtr; }
45 
48  MLDICOMCachedIOTreeCache &treeCacheConst() const { return *_treeCacheProxyPtr; }
49 
50 private:
51 
54 
57 
59  MLDICOMCachedIOPixelFrameCache *_pixelFrameCacheProxyPtr;
60 
62  MLDICOMCachedIOTagCache *_tagCacheProxyPtr;
63 
65  MLDICOMCachedIOTreeCache *_treeCacheProxyPtr;
66 };
Project global and OS specific declarations.
#define MLDICOMCachedIO_EXPORT
If included by external modules, exported symbols are declared as import symbols.
Class for cached DICOM tag loading from files for DICOM importing modules.
An instance of this class creates singleton proxies for DICOMCachedIO cache classes such that all cac...
~MLDICOMCachedIOProxies()
Destructor.
MLDICOMCachedIOTreeCache & treeCache()
Returns the tree cache.
MLDICOMCachedIOTreeCache & treeCacheConst() const
Returns the tree cache using const functions; a bit ugly, but sometimes cache accesses shall be consi...
MLDICOMCachedIOPixelFrameCache & pixelFrameCache()
Returns the pixel frame cache.
MLDICOMCachedIOProxies()
Constructor.
MLDICOMCachedIOTagCache & tagCacheConst() const
Returns the tag cache using const functions; a bit ugly, but sometimes cache accesses shall be consid...
MLDICOMCachedIOTagCache & tagCache()
Returns the tag cache.
Class for cached DICOM tag loading from files for DICOM importing modules.
Class for DICOM tree accesses and caching of them for DICOM importing modules.