Medical Imaging Interaction Toolkit  2018.4.99-18ddd2ed
Medical Imaging Interaction Toolkit
mitk::DICOMGDCMTagCache Class Reference

Tag cache implementation used by the DICOMGDCMTagScanner. More...

#include <mitkDICOMGDCMTagCache.h>

Inheritance diagram for mitk::DICOMGDCMTagCache:
Collaboration diagram for mitk::DICOMGDCMTagCache:

Public Member Functions

 mitkClassMacro (DICOMGDCMTagCache, DICOMTagCache)
 
Pointer Clone () const
 
DICOMDatasetFinding GetTagValue (DICOMImageFrameInfo *frame, const DICOMTag &tag) const override
 
FindingsListType GetTagValue (DICOMImageFrameInfo *frame, const DICOMTagPath &path) const override
 
DICOMDatasetAccessingImageFrameList GetFrameInfoList () const override
 Retrieve a result list for file-by-file tag access. More...
 
void InitCache (const std::set< DICOMTag > &scannedTags, const std::shared_ptr< gdcm::Scanner > &scanner, const StringList &inputFiles)
 
const gdcm::Scanner & GetScanner () const
 
- Public Member Functions inherited from mitk::DICOMTagCache
 mitkClassMacroItkParent (DICOMTagCache, itk::Object)
 
virtual void SetInputFiles (const StringList &filenames)
 Define the list of files that were scanned to populate the cache. More...
 

Static Public Member Functions

static Pointer New ()
 

Protected Member Functions

 DICOMGDCMTagCache ()
 
 ~DICOMGDCMTagCache () override
 
- Protected Member Functions inherited from mitk::DICOMTagCache
 DICOMTagCache ()
 
 DICOMTagCache (const DICOMTagCache &)
 
 ~DICOMTagCache () override
 

Protected Attributes

std::set< DICOMTagm_ScannedTags
 
std::shared_ptr< gdcm::Scanner > m_Scanner
 
DICOMDatasetAccessingImageFrameList m_ScanResult
 
- Protected Attributes inherited from mitk::DICOMTagCache
StringList m_InputFilenames
 

Additional Inherited Members

- Public Types inherited from mitk::DICOMTagCache
typedef std::list< DICOMDatasetFindingFindingsListType
 

Detailed Description

Tag cache implementation used by the DICOMGDCMTagScanner.

Definition at line 30 of file mitkDICOMGDCMTagCache.h.

Constructor & Destructor Documentation

◆ DICOMGDCMTagCache()

mitk::DICOMGDCMTagCache::DICOMGDCMTagCache ( )
protected

Definition at line 17 of file mitkDICOMGDCMTagCache.cpp.

◆ ~DICOMGDCMTagCache()

mitk::DICOMGDCMTagCache::~DICOMGDCMTagCache ( )
overrideprotected

Definition at line 21 of file mitkDICOMGDCMTagCache.cpp.

Member Function Documentation

◆ Clone()

Pointer mitk::DICOMGDCMTagCache::Clone ( ) const

◆ GetFrameInfoList()

mitk::DICOMDatasetAccessingImageFrameList mitk::DICOMGDCMTagCache::GetFrameInfoList ( ) const
overridevirtual

Retrieve a result list for file-by-file tag access.

Implements mitk::DICOMTagCache.

Definition at line 78 of file mitkDICOMGDCMTagCache.cpp.

References m_ScanResult.

◆ GetScanner()

const gdcm::Scanner & mitk::DICOMGDCMTagCache::GetScanner ( ) const

Definition at line 101 of file mitkDICOMGDCMTagCache.cpp.

References m_Scanner.

◆ GetTagValue() [1/2]

◆ GetTagValue() [2/2]

◆ InitCache()

void mitk::DICOMGDCMTagCache::InitCache ( const std::set< DICOMTag > &  scannedTags,
const std::shared_ptr< gdcm::Scanner > &  scanner,
const StringList inputFiles 
)

◆ mitkClassMacro()

mitk::DICOMGDCMTagCache::mitkClassMacro ( DICOMGDCMTagCache  ,
DICOMTagCache   
)

◆ New()

static Pointer mitk::DICOMGDCMTagCache::New ( )
static

Member Data Documentation

◆ m_ScannedTags

std::set<DICOMTag> mitk::DICOMGDCMTagCache::m_ScannedTags
protected

Definition at line 53 of file mitkDICOMGDCMTagCache.h.

Referenced by GetTagValue(), and InitCache().

◆ m_Scanner

std::shared_ptr<gdcm::Scanner> mitk::DICOMGDCMTagCache::m_Scanner
protected

Definition at line 55 of file mitkDICOMGDCMTagCache.h.

Referenced by GetScanner(), and InitCache().

◆ m_ScanResult

DICOMDatasetAccessingImageFrameList mitk::DICOMGDCMTagCache::m_ScanResult
protected

Definition at line 57 of file mitkDICOMGDCMTagCache.h.

Referenced by GetFrameInfoList(), GetTagValue(), and InitCache().


The documentation for this class was generated from the following files: