Get all dicom tags on the dictionary not correct???

Compilation and installation of DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
buiductoan
Posts: 24
Joined: Thu, 2013-01-10, 16:40

Get all dicom tags on the dictionary not correct???

#1 Post by buiductoan »

I want to display all tag in DataDictionary,so I use to method in DcmDataDictionary. But methods of the class don't have method to get Tag.Plase help me get all tag in DataDictionary

Code: Select all

	const DcmDataDictionary& globalDataDict = dcmDataDict.rdlock();
	DcmTagKey key(0xffff,0xffff);
        for(int i=0;i<globalDataDict.numberOfNormalTagEntries();i++)
	{
		
        //Display all Tag
	}
    dcmDataDict.unlock();

J. Riesmeier
DCMTK Developer
Posts: 2506
Joined: Tue, 2011-05-03, 14:38
Location: Oldenburg, Germany
Contact:

Re: Get all dicom tags on the dictionary not correct???

#2 Post by J. Riesmeier »

What about using the iterator class?

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 1 guest