LEADTOOLS DICOM C++ Class Library Help > Classes and Member Functions > LDicomTag > LDicomTag Class Members > LDicomTag::Default |
#include "Ltdic.h"
static L_VOID LDicomTag::Default(L_VOID)
static L_VOID LDicomTag::Default(bIgnorePrivateTags)
L_BOOL bIgnorePrivateTags; |
/* flag */ |
Resets the Data Element Tag Table to the default values.
Parameter |
Description |
|
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.
To see 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
LTDIC For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application |
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; }