Program: gdcm
Module: $RCSfile: TestDict.cxx,v $
Language: C++
- Date: $Date: 2005/01/26 16:43:10 $
- Version: $Revision: 1.6 $
+ Date: $Date: 2005/07/11 14:53:15 $
+ Version: $Revision: 1.8 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
#include <iostream>
#include <iomanip>
-int TestDict(int , char* [])
+int TestDict(int , char *[])
{
- std::cout << "-------- Test Default Dicom Dictionary : ----------" << std::endl;
+ std::cout << "----- Test Default Dicom Dictionary : ----------" << std::endl;
// Just to improve test coverage:
gdcm::Dict *tempDict = new gdcm::Dict("dummyFileNameThatDoesntExist");
// Default dict is supposed to be used.
tempDict->Print();
- std::cout << "-------- end Test Default Dicom Dictionary : --------" << std::endl;
+ std::cout << "---- end Test Default Dicom Dictionary : -------" << std::endl;
// Lets delete it.
delete tempDict;
std::cout<<"#######################################################\n";
const int ENTRY_GR = 0x10;
const int ENTRY_EL = 0x20;
- std::string key=gdcm::DictEntry::TranslateToKey(ENTRY_GR,ENTRY_EL);
+ gdcm::TagKey key = gdcm::DictEntry::TranslateToKey(ENTRY_GR,ENTRY_EL);
gdcm::DictEntry *entry=pubDict->GetEntry(ENTRY_GR,ENTRY_EL);
if(!entry)
{