The following macros are available for use with the LEADTOOLS DICOM C++ Class Library:
\#define MAKETAG(nGroup,nElement) ((L/_UINT32)((((L/_UINT32)nGroup) << 16) | nElement))
\#define GETGROUP(nTag) ((L/_UINT16)(nTag >> 16))
\#define GETELEMENT(nTag) ((L/_UINT16)(nTag & 0xFFFF))
For an example, refer to LDicomDS::ConformanceDS and LDicomDS::GetCharValue.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET