DCMTK Version 3.6.9
OFFIS DICOM Toolkit
Loading...
Searching...
No Matches
DcmPrivateTagCache Class Reference

this class implements a cache of Private Creator elements and corresponding reserved tag numbers. More...

Public Member Functions

 DcmPrivateTagCache ()
 default constructor
 
virtual ~DcmPrivateTagCache ()
 destructor
 
void clear ()
 resets the cache to default-constructed state
 
const char * findPrivateCreator (const DcmTagKey &tk) const
 looks up the private creator identifier for the given private tag
 
void updateCache (DcmObject *dobj)
 updates the private creator cache with the given object.
 

Private Member Functions

 DcmPrivateTagCache (const DcmPrivateTagCache &)
 private undefined copy constructor
 
DcmPrivateTagCacheoperator= (const DcmPrivateTagCache &)
 private undefined copy assignment operator
 

Private Attributes

OFList< DcmPrivateTagCacheEntry * > list_
 the list
 

Detailed Description

this class implements a cache of Private Creator elements and corresponding reserved tag numbers.

Member Function Documentation

◆ findPrivateCreator()

const char * DcmPrivateTagCache::findPrivateCreator ( const DcmTagKey & tk) const

looks up the private creator identifier for the given private tag

Parameters
tkprivate tag to check
Returns
private creator identifier if found, NULL otherwise.

◆ updateCache()

void DcmPrivateTagCache::updateCache ( DcmObject * dobj)

updates the private creator cache with the given object.

If the object points to a private creator element, the tag key and creator identifier are added to the cache. Otherwise, the cache remains unmodified.

Parameters
dobjthe given object

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


Generated on Sat Mar 1 2025 for DCMTK Version 3.6.9 by Doxygen 1.13.2