X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmDicomDirObject.cxx;h=a06a2810ef221d9b7e9d95cfea70de7b4d4a8c96;hb=1fad5ff2d076c7dafa56b8cda37cca2118c5230e;hp=edbd6a855c24b01871ed77c4003d9ac6618b81e3;hpb=a462ce9f1af0894cd930ab04f2e65cd80dfa7084;p=gdcm.git diff --git a/src/gdcmDicomDirObject.cxx b/src/gdcmDicomDirObject.cxx index edbd6a85..a06a2810 100644 --- a/src/gdcmDicomDirObject.cxx +++ b/src/gdcmDicomDirObject.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmDicomDirObject.cxx,v $ Language: C++ - Date: $Date: 2005/01/08 15:03:59 $ - Version: $Revision: 1.15 $ + Date: $Date: 2005/01/20 16:16:42 $ + Version: $Revision: 1.17 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -37,7 +37,6 @@ DicomDirObject::DicomDirObject(int depth) { } - /** * \brief Canonical destructor. */ @@ -45,29 +44,9 @@ DicomDirObject::~DicomDirObject() { } - //----------------------------------------------------------------------------- // Public - -/** - * \brief Builds a hash table (multimap) containing - * pointers to all Header Entries (i.e Dicom Element) - * related to this 'object' - * @return - */ -TagDocEntryHT DicomDirObject::GetEntryHT() -{ - TagDocEntryHT HT; - DocEntries = GetDocEntries(); - for(ListDocEntry::iterator i = DocEntries.begin(); - i != DocEntries.end(); ++i) - { - HT[(*i)->GetKey()] = *i; - } - return HT; -} - //----------------------------------------------------------------------------- // Protected /** @@ -78,7 +57,6 @@ TagDocEntryHT DicomDirObject::GetEntryHT() void DicomDirObject::FillObject(ListDicomDirMetaElem const &elemList) { // FillObject fills up the SQItem that will be conneected to the right place - ListDicomDirMetaElem::const_iterator it; uint16_t tmpGr,tmpEl; DictEntry *dictEntry; @@ -97,5 +75,9 @@ void DicomDirObject::FillObject(ListDicomDirMetaElem const &elemList) AddEntry(entry); } } -} // end namespace gdcm +//----------------------------------------------------------------------------- +// Private + +//----------------------------------------------------------------------------- +} // end namespace gdcm