MeVisLab Toolbox Reference
MLDICOMCachedIOTagCacheMap::TagKey Struct Reference

TagKey for the tag cache. More...

#include <mlDICOMCachedIOTagCacheMap.h>

Public Member Functions

 TagKey ()
 Initializes _id to 0 and _fileHandle empty. More...
 
 TagKey (MLuint32 id, const ml::ConstantString &fileName)
 Initializes _id with id and _fileHandle with fileName. More...
 
bool operator== (const TagKey &other) const
 Returns true if _id and _fileName of *this and other are identical, otherwise false. More...
 

Public Attributes

MLuint32 _id
 The raw id of the tag. More...
 
ml::ConstantString _fileName
 The handle of the DCMTree source associated to the tag. More...
 
std::list< TagKey >::iterator _recentlyCachedIt
 Iterator to the entry in _recentlyCached list for faster deletion there. More...
 

Detailed Description

TagKey for the tag cache.

Definition at line 99 of file mlDICOMCachedIOTagCacheMap.h.

Constructor & Destructor Documentation

◆ TagKey() [1/2]

MLDICOMCachedIOTagCacheMap::TagKey::TagKey ( )
inline

Initializes _id to 0 and _fileHandle empty.

Definition at line 102 of file mlDICOMCachedIOTagCacheMap.h.

◆ TagKey() [2/2]

MLDICOMCachedIOTagCacheMap::TagKey::TagKey ( MLuint32  id,
const ml::ConstantString fileName 
)
inline

Initializes _id with id and _fileHandle with fileName.

Definition at line 105 of file mlDICOMCachedIOTagCacheMap.h.

Member Function Documentation

◆ operator==()

bool MLDICOMCachedIOTagCacheMap::TagKey::operator== ( const TagKey other) const
inline

Returns true if _id and _fileName of *this and other are identical, otherwise false.

Definition at line 108 of file mlDICOMCachedIOTagCacheMap.h.

References _fileName, and _id.

Member Data Documentation

◆ _fileName

ml::ConstantString MLDICOMCachedIOTagCacheMap::TagKey::_fileName

The handle of the DCMTree source associated to the tag.

Definition at line 116 of file mlDICOMCachedIOTagCacheMap.h.

Referenced by MLDICOMCachedIOTagCacheMap::TagHashFunction::operator()(), and operator==().

◆ _id

MLuint32 MLDICOMCachedIOTagCacheMap::TagKey::_id

The raw id of the tag.

Definition at line 113 of file mlDICOMCachedIOTagCacheMap.h.

Referenced by MLDICOMCachedIOTagCacheMap::TagHashFunction::operator()(), and operator==().

◆ _recentlyCachedIt

std::list<TagKey>::iterator MLDICOMCachedIOTagCacheMap::TagKey::_recentlyCachedIt

Iterator to the entry in _recentlyCached list for faster deletion there.

Definition at line 119 of file mlDICOMCachedIOTagCacheMap.h.


The documentation for this struct was generated from the following file: