2 * STL hash table ("#include <map>") requirements:
3 1/ iterator: first(), ++, (i.e. iterate or next).
4 2/ should be sortable (i.e. sorted by TagKey). This condition shall be
5 droped since the Win32/VC++6.0 implementation doesn't look like
6 providing this facility.
7 3/ has a setup some default size value (in number of items), which should
8 be around 4500 entries which appears to be the average dictionary size
13 * gdcmFile WriteDicom;
14 WriteDicom.SetFileName("MyDicomFile.dcm");
15 string * AllTags = gdcmHeader.GetDcmTagNames();
16 WriteDicom.SetDcmTag(AllTags[5], "253");
17 WriteDicom.SetDcmTag("Patient Name", "bozo");
18 WriteDicom.SetDcmTag("Patient Name", "bozo");
19 WriteDicom.SetImageData(Image);
23 Anonymize(ostream& output) {
24 a = gdcmFile("toto1");
25 a.SetPubValueByName("Patient Name", "");
26 a.SetPubValueByName("Date", "");
27 a.SetPubValueByName("Study Date", "");