]> Creatis software - gdcm.git/blobdiff - src/gdcmDicomDirStudy.cxx
* src/gdcmFile.h : bug fix. Variable type and variable name had same name
[gdcm.git] / src / gdcmDicomDirStudy.cxx
index d15c62efa8c92aab7728a43a197614042599417b..c46781322f556117bc0c6150cb5b5c5a64352f4c 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmDicomDirStudy.cxx,v $
   Language:  C++
-  Date:      $Date: 2004/11/25 15:46:11 $
-  Version:   $Revision: 1.18 $
+  Date:      $Date: 2004/12/03 20:16:57 $
+  Version:   $Revision: 1.20 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
 #include "gdcmDicomDirStudy.h"
 #include "gdcmDicomDirElement.h"
 #include "gdcmGlobal.h"
+#include "gdcmDicomDirSerie.h"
 
 namespace gdcm 
 {
 //-----------------------------------------------------------------------------
 // Constructor / Destructor
-
-/**
- * \ingroup DicomDirStudy
- * \brief constructor  
- * @param  s SQ Item holding the elements related to this "STUDY" part
- * @param ptagHT pointer to the HTable (DicomDirObject needs it 
- *               to build the HeaderEntries)
- */
-DicomDirStudy::DicomDirStudy(SQItem* s, TagDocEntryHT* ptagHT):
-   DicomDirObject(ptagHT)
-{
-   DocEntries = s->GetDocEntries();
-}
 /**
  * \ingroup DicomDirStudy
  * \brief constructor  
  * @param ptagHT pointer to the HTable (DicomDirObject needs it 
  *               to build the HeaderEntries)
  */
-DicomDirStudy::DicomDirStudy(TagDocEntryHT* ptagHT):
-   DicomDirObject(ptagHT)
+DicomDirStudy::DicomDirStudy():
+   DicomDirObject()
 {
 }
 /**
@@ -111,7 +99,7 @@ DicomDirSerie* DicomDirStudy::NewSerie()
    ListDicomDirSerieElem const & elemList = 
       Global::GetDicomDirElements()->GetDicomDirSerieElements();   
 
-   DicomDirSerie* st = new DicomDirSerie(PtagHT);
+   DicomDirSerie* st = new DicomDirSerie();
    FillObject(elemList);
    Series.push_front(st);