29class DICOMCachedIOFileHandlePlugin;
30class DicomMessageCollector;
59 const std::string &tagId,
85 url = _urlFld->getStringValue();
92 _urlFld->setStringValue(url);
105 MLuint32 getRawTagIdFromString(
const std::string &tag);
129 IntField *_dicomCachedIOTagCacheMaxNumMegaBytesFld;
131 IntField *_dicomCachedIOTreeCacheMaxNumMegaBytesFld;
Project global and OS specific declarations.
#define MLACCESSDIRECTDICOMIMPORTCACHE_EXPORT
DLL export macro definition.
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.
~AccessDirectDicomImportCache() override
Destructor.
virtual DCMTree::Const_TagPtr getDCMTag(const std::string &url, const std::string &tagId, bool *treeLoadFailed, DicomMessageCollector &dcmMsgCollector)
virtual void prefetchTags()
Prefetches the dicom tags specified in _tagsToPrefetchFld for the DCMTree with location given in _url...
AccessDirectDicomImportCache()
Constructor.
std::string getUrl() const
MLint getDicomCachedIOTreeCacheSize() const
Returns the maximum cache size of the MLDICOMCachedIOTreeCacheMap.
void handleNotification(Field *field) override
Handles field changes of the field field.
virtual void removeDicomCachedIOFileHandlePlugin(DICOMCachedIOFileHandlePlugin *fileHandlePlugin)
MLint getDicomCachedIOTagCacheSize() const
Returns the maximum cache size of the MLDICOMCachedIOTagCacheMap.
virtual void setTagsToPrefetchFromConfig(const std::string &config)
virtual void addDicomCachedIOFileHandlePlugin(DICOMCachedIOFileHandlePlugin *fileHandlePlugin)
virtual DCMTree::TreePtr getDCMTree(const std::string &url, DicomMessageCollector &dcmMsgCollector)
void setUrl(std::string &url)
Class to collect messages and errors related to a given frame handle.
Module(int numInputImages, int numOutputImages)
#define ML_MODULE_CLASS_HEADER(className)
boost::shared_ptr< const Tag > Const_TagPtr
boost::shared_ptr< Tree > TreePtr
Shared pointer to a DCMTree::Tree.