Program: gdcm
Module: $RCSfile: gdcmDicomEntry.cxx,v $
Language: C++
- Date: $Date: 2005/10/21 07:38:57 $
- Version: $Revision: 1.3 $
+ Date: $Date: 2006/04/11 16:03:26 $
+ Version: $Revision: 1.4 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
=========================================================================*/
#include "gdcmDicomEntry.h"
-#include "gdcmDebug.h"
-#include "gdcmUtil.h"
+//#include "gdcmDebug.h"
+//#include "gdcmUtil.h"
-#include <iomanip> // for std::ios::left, ...
+//#include <iomanip> // for std::ios::left, ...
#include <fstream>
-#include <stdio.h> // for sprintf
+//#include <stdio.h> // for sprintf
namespace gdcm
{
DicomEntry::DicomEntry(const uint16_t &group,const uint16_t &elem,
const VRKey &vr)
{
- Tag.SetGroup(group);
- Tag.SetElement(elem);
+ //Tag.SetGroupElement(group);
+ //Tag.SetElement(elem);
+ Tag.SetGroupElement(group,elem);
VR = vr;
}
//-----------------------------------------------------------------------------
// Public
-/**
- * \brief concatenates 2 uint16_t (supposed to be a Dicom group number
- * and a Dicom element number)
- * @param group the Dicom group number used to build the tag
- * @param elem the Dicom element number used to build the tag
- * @return the built tag
- */
-TagKey DicomEntry::TranslateToKey(uint16_t group, uint16_t elem)
-{
- // according to 'Purify', TranslateToKey is one of the most
- // time consuming methods.
- // Let's try to shorten it !
- return TagKey(group,elem);
-}
//-----------------------------------------------------------------------------
// Protected