Mercurial > hg > orthanc-stone
diff Framework/Loaders/LoaderCache.h @ 1413:cde379b9d1d2 loader-cache-refactoring
LoaderCache is now extensible + factored the uuid normalizing
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Mon, 04 May 2020 18:26:35 +0200 |
parents | f4a06ad1580b |
children | 998697c5ec74 |
line wrap: on
line diff
--- a/Framework/Loaders/LoaderCache.h Mon May 04 13:34:46 2020 +0200 +++ b/Framework/Loaders/LoaderCache.h Mon May 04 18:26:35 2020 +0200 @@ -41,6 +41,9 @@ class LoaderCache { public: + + virtual ~LoaderCache() {} + LoaderCache(OrthancStone::ILoadersContext& loadersContext); boost::shared_ptr<OrthancSeriesVolumeProgressiveLoader> @@ -59,7 +62,12 @@ void ClearCache(); - private: + /** + Service method static and exposed for unit tests. + */ + static void NormalizeUuid(std::string& uuid); + + protected: void DebugDisplayObjRefCounts();