]> Creatis software - gdcm.git/blobdiff - src/gdcmDicomDirImage.cxx
* Test/ : rename VTK tests to have a best name for the tests
[gdcm.git] / src / gdcmDicomDirImage.cxx
index ba2134ab151f95aad522a223dff78aec1f87d12b..0ddbfc463409c2279101918589e7abb4b9527875 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmDicomDirImage.cxx,v $
   Language:  C++
-  Date:      $Date: 2004/10/25 03:35:19 $
-  Version:   $Revision: 1.13 $
+  Date:      $Date: 2005/01/18 14:28:32 $
+  Version:   $Revision: 1.18 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -23,32 +23,14 @@ namespace gdcm
 {
 //-----------------------------------------------------------------------------
 // Constructor / Destructor
-
-/**
- * \ingroup DicomDirImage
- * \brief  Constructor 
- * @param  s  SQ Item holding the elements
- * @param ptagHT pointer to the HTable (DicomDirObject needs it 
- *               to build the DocEntries)
- */
-DicomDirImage::DicomDirImage(SQItem *s, TagDocEntryHT *ptagHT):
-   DicomDirObject(ptagHT)
-{
-   DocEntries = s->GetDocEntries();
-}
-
 /**
- * \ingroup DicomDirImage
  * \brief  Constructor 
- * @param ptagHT pointer to the HTable (DicomDirObject needs it 
- *               to build the DocEntries)
  */
-DicomDirImage::DicomDirImage(TagDocEntryHT *ptagHT):
-   DicomDirObject(ptagHT)
+DicomDirImage::DicomDirImage():
+   DicomDirObject()
 {
 }
 /**
- * \ingroup DicomDirImage
  * \brief   Canonical destructor.
  */
 DicomDirImage::~DicomDirImage() 
@@ -58,11 +40,12 @@ DicomDirImage::~DicomDirImage()
 //-----------------------------------------------------------------------------
 // Print
 /**
- * \ingroup DicomDirImage
  * \brief   Prints the Object
+ * @param os ostream to write to
+ * @param   indent indent
  * @return
  */ 
-void DicomDirImage::Print(std::ostream &os)
+void DicomDirImage::Print(std::ostream &os, std::string const & )
 {
    os << "IMAGE : ";
    for(ListDocEntry::iterator i = DocEntries.begin();