LDicomTag::Default

#include "Ltdic.h"

static L_VOID LDicomTag::Default(L_VOID)

static L_VOID LDicomTag::Default(bIgnorePrivateTags)

Resets the Data Element Tag Table to the default values.

Parameters

L_BOOL bIgnorePrivateTags

Flag that indicates how the DICOM Element Tag table will be defaulted. Possible values are:

Value Meaning
TRUE Exclude any private DICOM tags.
FALSE Include private DICOM tags.

Returns

None.

Comments

The default DICOM Element Tag Table contains all the DICOM element tags defined in the latest DICOM specification. Additionally, the default DICOM Element Tag Table contains several well-known private tags (i.e. SIEMENS, PAPYRUS). To exclude these DICOM Elements from the DICOM ELement Tag Table, pass TRUE for bIgnorePrivateTags.

For the default values for the Data Element Tag Table, refer to the Default Data Element Tag Table.

If you remove the contents of the table using LDicomTag::Reset, you can reset the table to the default values by calling this function.

Required DLLs and Libraries

Platforms

Win32, x64

See Also

Functions

Topics

Example

This example restores the default Tag table.

L_INT LDicomTag_DefaultExample() 
{ 
   // This restores the default DICOM Element tag table 
   LDicomTag::Default(); 
 
   // The following is equivalent to LDicomTag::Default(); 
   LDicomTag::Default(FALSE); 
 
   // The following loads all the default DICOM Element tags except the well know private tags (Siemens, Papyrus) 
   LDicomTag::Default(TRUE); 
 
   return DICOM_SUCCESS; 
} 

Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS DICOM C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.