]> Creatis software - gdcm.git/commitdiff
* class gdcmObject is now called gdcmDicomDirObject (less confusing name)
authorjpr <jpr>
Thu, 23 Sep 2004 10:47:09 +0000 (10:47 +0000)
committerjpr <jpr>
Thu, 23 Sep 2004 10:47:09 +0000 (10:47 +0000)
17 files changed:
ChangeLog
src/CMakeLists.txt
src/gdcmDicomDir.cxx
src/gdcmDicomDir.h
src/gdcmDicomDirImage.cxx
src/gdcmDicomDirImage.h
src/gdcmDicomDirMeta.cxx
src/gdcmDicomDirMeta.h
src/gdcmDicomDirObject.cxx [moved from src/gdcmObject.cxx with 85% similarity]
src/gdcmDicomDirObject.h [moved from src/gdcmObject.h with 83% similarity]
src/gdcmDicomDirPatient.cxx
src/gdcmDicomDirPatient.h
src/gdcmDicomDirSerie.cxx
src/gdcmDicomDirSerie.h
src/gdcmDicomDirStudy.cxx
src/gdcmDicomDirStudy.h
src/gdcmSQItem.h

index fbec1e02b3f3748522de4e3a6fa2be858002e19b..9735dfad936452c296100b98f4dfa9b54a157890 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,7 @@
         we can now delete[] it safely  
   * VoidArea is now called BinArea (less confusing name),
     and all the methods called ...VoidArea... are now ... BinArea...
+  * class gdcmObject is now called gdcmDicomDirObject (less confusing name)
 
 2004-09-22 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
   * src/gdcmDocument.cxx: gdcmDocument::~gdcmDocument() doesn't clear (nor
index 40a85f9386a74ba1aea05784ab58e612ee1012e8..a57e007f73ae5f63b997746848b2fa5ef0549b62 100644 (file)
@@ -44,7 +44,7 @@ SET(libgdcm_la_SOURCES
    gdcmDicomDirStudy.cxx
    gdcmDicomDirSerie.cxx
    gdcmDicomDirImage.cxx
-   gdcmObject.cxx
+   gdcmDicomDirObject.cxx
    )
 
 ADD_LIBRARY(gdcm ${libgdcm_la_SOURCES} )
index 6b758ed193b858919c233c5d0c1cb7dc73f80c93..e920abfe2464db1cd6dba1299aec3e3bfa574962 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmDicomDir.cxx,v $
   Language:  C++
-  Date:      $Date: 2004/08/31 14:24:47 $
-  Version:   $Revision: 1.67 $
+  Date:      $Date: 2004/09/23 10:47:10 $
+  Version:   $Revision: 1.68 $
   
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -526,7 +526,7 @@ gdcmDicomDirPatient * gdcmDicomDir::NewPatient()
  * \brief   adds to the HTable 
  *          the gdcmEntries (Dicom Elements) corresponding to the given type
  * @param   path full path file name (only used when type = GDCM_DICOMDIR_IMAGE
- * @param   type gdcmObject type to create (GDCM_DICOMDIR_PATIENT,
+ * @param   type gdcmDicomDirObject type to create (GDCM_DICOMDIR_PATIENT,
  *          GDCM_DICOMDIR_STUDY, GDCM_DICOMDIR_SERIE ...)
  * @param   header gdcmHeader of the current file
  */
index ace71379bf604deba0fa2a078672d10c5180dde4..6e9de9338041a91f54e6475d85b9567603e4b99c 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmDicomDir.h,v $
   Language:  C++
-  Date:      $Date: 2004/08/31 14:24:47 $
-  Version:   $Revision: 1.28 $
+  Date:      $Date: 2004/09/23 10:47:10 $
+  Version:   $Revision: 1.29 $
   
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -87,7 +87,7 @@ public:
 // Write  
    bool WriteDicomDir(std::string const & fileName);
 
-   /// Types of the gdcmObject within the gdcmDicomDir
+   /// Types of the gdcmDicomDirObject within the gdcmDicomDir
    typedef enum
    {
       GDCM_DICOMDIR_NONE,
@@ -121,7 +121,7 @@ private:
    
 // Variables
 
-   /// Pointer on *the* gdcmObject 'DicomDirMeta Elements'
+   /// Pointer on *the* gdcmDicomDirObject 'DicomDirMeta Elements'
    gdcmDicomDirMeta *metaElems;
 
    /// Chained list of DicomDirPatient (to be exploited recursively) 
index ea24f053a27818e910dd8fabd0650e3286942f6c..f14f92bc71656889a3a3770295633033ddeb2a6a 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmDicomDirImage.cxx,v $
   Language:  C++
-  Date:      $Date: 2004/08/31 15:39:48 $
-  Version:   $Revision: 1.9 $
+  Date:      $Date: 2004/09/23 10:47:10 $
+  Version:   $Revision: 1.10 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
  * \ingroup gdcmDicomDirImage
  * \brief  Constructor 
  * @param  s  SQ Item holding the elements
- * @param ptagHT pointer to the HTable (gdcmObject needs it 
+ * @param ptagHT pointer to the HTable (gdcmDicomDirObject needs it 
  *               to build the gdcmDocEntries)
  */
 gdcmDicomDirImage::gdcmDicomDirImage(gdcmSQItem *s, TagDocEntryHT *ptagHT):
-   gdcmObject(ptagHT)
+   gdcmDicomDirObject(ptagHT)
 {
    docEntries = s->GetDocEntries();
 }
@@ -37,11 +37,11 @@ gdcmDicomDirImage::gdcmDicomDirImage(gdcmSQItem *s, TagDocEntryHT *ptagHT):
 /**
  * \ingroup gdcmDicomDirImage
  * \brief  Constructor 
- * @param ptagHT pointer to the HTable (gdcmObject needs it 
+ * @param ptagHT pointer to the HTable (gdcmDicomDirObject needs it 
  *               to build the gdcmDocEntries)
  */
 gdcmDicomDirImage::gdcmDicomDirImage(TagDocEntryHT *ptagHT):
-   gdcmObject(ptagHT)
+   gdcmDicomDirObject(ptagHT)
 {
 }
 /**
@@ -71,7 +71,7 @@ void gdcmDicomDirImage::Print(std::ostream &os)
    }
    os << std::endl;
 
-   gdcmObject::Print(os);
+   gdcmDicomDirObject::Print(os);
 }
 
 //-----------------------------------------------------------------------------
index dac05c642ee85fcb4b876ee8b5dde8a8e9ec1ec2..b912c3ad8ab685b8b6526b7c00cac9b6c00c961b 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmDicomDirImage.h,v $
   Language:  C++
-  Date:      $Date: 2004/08/26 15:29:52 $
-  Version:   $Revision: 1.7 $
+  Date:      $Date: 2004/09/23 10:47:10 $
+  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
 #ifndef GDCMDICOMIMAGE_H
 #define GDCMDICOMIMAGE_H
 
-#include "gdcmObject.h"
+#include "gdcmDicomDirObject.h"
 
 //-----------------------------------------------------------------------------
-class GDCM_EXPORT gdcmDicomDirImage : public gdcmObject
+class GDCM_EXPORT gdcmDicomDirImage : public gdcmDicomDirObject
 {
 public:
    gdcmDicomDirImage(gdcmSQItem *s, TagDocEntryHT *ptagHT); 
index e7202b02ed1847db51fa1318a0cc2a5b59debe68..116acf30bb08a54eb0cb35082332e3f44fa3ca51 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmDicomDirMeta.cxx,v $
   Language:  C++
-  Date:      $Date: 2004/08/30 16:15:40 $
-  Version:   $Revision: 1.8 $
+  Date:      $Date: 2004/09/23 10:47:10 $
+  Version:   $Revision: 1.9 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -27,7 +27,7 @@
  * \brief  Constructor
  */ 
 gdcmDicomDirMeta::gdcmDicomDirMeta(TagDocEntryHT *ptagHT):
-   gdcmObject(ptagHT)
+   gdcmDicomDirObject(ptagHT)
 {
 
 }
index 7f8bd5799b6e9d15dc0cb2509bb31c870f5f157c..c85114d43c9b92a43337046e4ad97c5dc6954369 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmDicomDirMeta.h,v $
   Language:  C++
-  Date:      $Date: 2004/08/26 15:29:52 $
-  Version:   $Revision: 1.6 $
+  Date:      $Date: 2004/09/23 10:47:10 $
+  Version:   $Revision: 1.7 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
 #ifndef GDCMDICOMDIRMETA_H
 #define GDCMDICOMDIRMETA_H
 
-#include "gdcmObject.h"
+#include "gdcmDicomDirObject.h"
 
 //-----------------------------------------------------------------------------
-class GDCM_EXPORT gdcmDicomDirMeta : public gdcmObject 
+class GDCM_EXPORT gdcmDicomDirMeta : public gdcmDicomDirObject 
 {
 public:
    gdcmDicomDirMeta(TagDocEntryHT *ptagHT); 
similarity index 85%
rename from src/gdcmObject.cxx
rename to src/gdcmDicomDirObject.cxx
index d5f2848f5073881b54c00d26458b3aaad22322aa..9094a45d5fcbd1f9896241e04a5ca048db5f185d 100644 (file)
@@ -1,10 +1,10 @@
 /*=========================================================================
                                                                                 
   Program:   gdcm
-  Module:    $RCSfile: gdcmObject.cxx,v $
+  Module:    $RCSfile: gdcmDicomDirObject.cxx,v $
   Language:  C++
-  Date:      $Date: 2004/08/01 00:59:21 $
-  Version:   $Revision: 1.24 $
+  Date:      $Date: 2004/09/23 10:47:10 $
+  Version:   $Revision: 1.1 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
                                                                                 
 =========================================================================*/
 
-#include "gdcmObject.h"
+#include "gdcmDicomDirObject.h"
 #include "gdcmGlobal.h"
 #include "gdcmDebug.h"
 #include "gdcmValEntry.h"
 
 //-----------------------------------------------------------------------------
 /**
- * \ingroup gdcmObject
+ * \ingroup gdcmDicomDirObject
  * \brief  Constructor 
  *          
- * @param ptagHT pointer to the HTable (gdcmObject needs it 
+ * @param ptagHT pointer to the HTable (gdcmDicomDirObject needs it 
  *               to build the gdcmDocEntries)
  * @param depth Sequence depth level
  */
   
-gdcmObject::gdcmObject(TagDocEntryHT *ptagHT, int depth) 
+gdcmDicomDirObject::gdcmDicomDirObject(TagDocEntryHT *ptagHT, int depth) 
           : gdcmSQItem (depth)
 {
    PtagHT = ptagHT;
@@ -39,10 +39,10 @@ gdcmObject::gdcmObject(TagDocEntryHT *ptagHT, int depth)
 
 
 /**
- * \ingroup gdcmObject
+ * \ingroup gdcmDicomDirObject
  * \brief   Canonical destructor.
  */
-gdcmObject::~gdcmObject()
+gdcmDicomDirObject::~gdcmDicomDirObject()
 {
 }
 
@@ -53,13 +53,13 @@ gdcmObject::~gdcmObject()
 
 
 /**
- * \ingroup gdcmObject
+ * \ingroup gdcmDicomDirObject
  * \brief   Builds a hash table (multimap) containing 
  *          pointers to all Header Entries (i.e Dicom Element)
  *          related to this 'object'
  * @return
  */ 
-TagDocEntryHT gdcmObject::GetEntry()
+TagDocEntryHT gdcmDicomDirObject::GetEntry()
 {
    TagDocEntryHT HT;
    docEntries=GetDocEntries();   
@@ -77,7 +77,7 @@ TagDocEntryHT gdcmObject::GetEntry()
  * \brief   add the 'Object' related Dicom Elements to the listEntries
  *          of a partially created DICOMDIR
  */
-void gdcmObject::FillObject(std::list<gdcmElement> elemList)
+void gdcmDicomDirObject::FillObject(std::list<gdcmElement> elemList)
 {
   // FillObject rempli le SQItem qui sera accroche au bon endroit
 
similarity index 83%
rename from src/gdcmObject.h
rename to src/gdcmDicomDirObject.h
index 04363a85a1341179f5ad7e47df3f824b1f848278..8997df873c6d4930a9bbfa17b14a2e32888b264a 100644 (file)
@@ -1,10 +1,10 @@
 /*=========================================================================
                                                                                 
   Program:   gdcm
-  Module:    $RCSfile: gdcmObject.h,v $
+  Module:    $RCSfile: gdcmDicomDirObject.h,v $
   Language:  C++
-  Date:      $Date: 2004/08/26 15:29:53 $
-  Version:   $Revision: 1.19 $
+  Date:      $Date: 2004/09/23 10:47:10 $
+  Version:   $Revision: 1.1 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
 #include "gdcmSQItem.h"
 
 //-----------------------------------------------------------------------------
-class gdcmObject;
-typedef std::list<gdcmObject *> ListContent;
+class gdcmDicomDirObject;
+typedef std::list<gdcmDicomDirObject *> ListContent;
 
 //-----------------------------------------------------------------------------
 /**
- * \ingroup gdcmObject
+ * \ingroup gdcmDicomDirObject
  * \brief   Base object
  */
-class GDCM_EXPORT gdcmObject : public gdcmSQItem
+class GDCM_EXPORT gdcmDicomDirObject : public gdcmSQItem
 {
 public:
 
-   gdcmObject(TagDocEntryHT *ptagHT, int depth = 0);
-   virtual ~gdcmObject();
+   gdcmDicomDirObject(TagDocEntryHT *ptagHT, int depth = 0);
+   virtual ~gdcmDicomDirObject();
    /**
     * \brief   Sets the print level for the Dicom Header 
     * \note    0 for Light Print; 1 for 'medium' Print, 2 for Heavy
index 625adecb4a40c80cd5865951f492da12852d7cd3..08df0cd531b794e41cbc1503896002065ca98146 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmDicomDirPatient.cxx,v $
   Language:  C++
-  Date:      $Date: 2004/08/26 15:29:52 $
-  Version:   $Revision: 1.11 $
+  Date:      $Date: 2004/09/23 10:47:10 $
+  Version:   $Revision: 1.12 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
 /**
  * \brief   Constructor
  * @param  s SQ Item holding the elements related to this "PATIENT" part
- * @param ptagHT pointer to the HTable (gdcmObject needs it 
+ * @param ptagHT pointer to the HTable (gdcmDicomDirObject needs it 
  *               to build the gdcmHeaderEntries)
  */
 gdcmDicomDirPatient::gdcmDicomDirPatient(gdcmSQItem *s, TagDocEntryHT *ptagHT):
-   gdcmObject(ptagHT)
+   gdcmDicomDirObject(ptagHT)
 {
    docEntries = s->GetDocEntries();
 }
 /**
  * \brief   Constructor
- * @param ptagHT pointer to the HTable (gdcmObject needs it 
+ * @param ptagHT pointer to the HTable (gdcmDicomDirObject needs it 
  *               to build the gdcmHeaderEntries)
  */
 gdcmDicomDirPatient::gdcmDicomDirPatient(TagDocEntryHT *ptagHT):
-   gdcmObject(ptagHT)
+   gdcmDicomDirObject(ptagHT)
 {
 }
 /**
@@ -63,7 +63,7 @@ gdcmDicomDirPatient::~gdcmDicomDirPatient()
 void gdcmDicomDirPatient::Print(std::ostream &os)
 {
    os << "PATIENT" << std::endl;
-   gdcmObject::Print(os);
+   gdcmDicomDirObject::Print(os);
 
    for(ListDicomDirStudy::iterator cc = studies.begin();
                                    cc != studies.end(); ++cc)
@@ -79,7 +79,7 @@ void gdcmDicomDirPatient::Print(std::ostream &os)
  */ 
 void gdcmDicomDirPatient::Write(FILE *fp, FileType t)
 {
-   gdcmObject::Write(fp, t);
+   gdcmDicomDirObject::Write(fp, t);
 
    for(ListDicomDirStudy::iterator cc = studies.begin();cc!=studies.end();++cc)
    {
index eb3e7bde343056ea731ce390aeec2805e829ba2a..742e37407e0513d95d4681a816b5a2b4847fc363 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmDicomDirPatient.h,v $
   Language:  C++
-  Date:      $Date: 2004/08/26 15:29:52 $
-  Version:   $Revision: 1.7 $
+  Date:      $Date: 2004/09/23 10:47:10 $
+  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
 #ifndef GDCMPATIENT_H
 #define GDCMPATIENT_H
 
-#include "gdcmObject.h"
+#include "gdcmDicomDirObject.h"
 #include "gdcmDicomDirStudy.h"
 #include "gdcmSQItem.h"
 //-----------------------------------------------------------------------------
 typedef std::list<gdcmDicomDirStudy*> ListDicomDirStudy;
 
 //-----------------------------------------------------------------------------
-class GDCM_EXPORT gdcmDicomDirPatient : public gdcmObject 
+class GDCM_EXPORT gdcmDicomDirPatient : public gdcmDicomDirObject 
 {
 public:
    gdcmDicomDirPatient(gdcmSQItem *s, TagDocEntryHT *ptagHT); 
index 22f4b4d43ef63c539432154fa012416bc8c0b279..ddeb9a08b137d2684414d2e194b830e7cab8d049 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmDicomDirSerie.cxx,v $
   Language:  C++
-  Date:      $Date: 2004/08/26 15:29:52 $
-  Version:   $Revision: 1.13 $
+  Date:      $Date: 2004/09/23 10:47:10 $
+  Version:   $Revision: 1.14 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
 /**
  * \brief  Constructor 
  * @param  s  SQ Item holding the elements related to this "SERIE" part
- * @param ptagHT pointer to the HTable (gdcmObject needs it 
+ * @param ptagHT pointer to the HTable (gdcmDicomDirObject needs it 
  *               to build the gdcmDocEntries)
  */
 gdcmDicomDirSerie::gdcmDicomDirSerie(gdcmSQItem *s, TagDocEntryHT *ptagHT):
-   gdcmObject(ptagHT)
+   gdcmDicomDirObject(ptagHT)
 {
    docEntries = s->GetDocEntries();
 }
 
 /**
  * \brief  Constructor 
- * @param ptagHT pointer to the HTable (gdcmObject needs it 
+ * @param ptagHT pointer to the HTable (gdcmDicomDirObject needs it 
  *               to build the gdcmDocEntries)
  */
 gdcmDicomDirSerie::gdcmDicomDirSerie(TagDocEntryHT *ptagHT):
-   gdcmObject(ptagHT)
+   gdcmDicomDirObject(ptagHT)
 {
 }
 /**
@@ -65,7 +65,7 @@ gdcmDicomDirSerie::~gdcmDicomDirSerie()
 void gdcmDicomDirSerie::Print(std::ostream &os)
 {
    os << "SERIE" << std::endl;
-   gdcmObject::Print(os);
+   gdcmDicomDirObject::Print(os);
 
    for(ListDicomDirImage::iterator cc = images.begin();
                                    cc != images.end();
@@ -85,7 +85,7 @@ void gdcmDicomDirSerie::Print(std::ostream &os)
  */ 
 void gdcmDicomDirSerie::Write(FILE *fp, FileType t)
 {
-   gdcmObject::Write(fp, t);
+   gdcmDicomDirObject::Write(fp, t);
 
    for(ListDicomDirImage::iterator cc = images.begin();cc!=images.end();++cc)
    {
index ae419146850584f0423711beea49e674ccb5c4b3..d6d7400123075119f00fd31800a925ddecd2b45c 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmDicomDirSerie.h,v $
   Language:  C++
-  Date:      $Date: 2004/08/26 15:29:52 $
-  Version:   $Revision: 1.7 $
+  Date:      $Date: 2004/09/23 10:47:10 $
+  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
 #ifndef GDCMDICOMDIRSERIE_H
 #define GDCMDICOMDIRSERIE_H
 
-#include "gdcmObject.h"
+#include "gdcmDicomDirObject.h"
 #include "gdcmDicomDirImage.h"
 
 //-----------------------------------------------------------------------------
 typedef std::list<gdcmDicomDirImage *> ListDicomDirImage;
 
 //-----------------------------------------------------------------------------
-class GDCM_EXPORT gdcmDicomDirSerie : public gdcmObject 
+class GDCM_EXPORT gdcmDicomDirSerie : public gdcmDicomDirObject 
 {
 public:
    gdcmDicomDirSerie(gdcmSQItem *s, TagDocEntryHT *ptagHT); 
index cd3b07c60445c98d4b142c8ea5707e2f2b4bd6d9..0032f182452be2625a59d48d5067a992846f127a 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmDicomDirStudy.cxx,v $
   Language:  C++
-  Date:      $Date: 2004/08/26 15:29:52 $
-  Version:   $Revision: 1.10 $
+  Date:      $Date: 2004/09/23 10:47:10 $
+  Version:   $Revision: 1.11 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
  * \ingroup gdcmDicomDirStudy
  * \brief constructor  
  * @param  s SQ Item holding the elements related to this "STUDY" part
- * @param ptagHT pointer to the HTable (gdcmObject needs it 
+ * @param ptagHT pointer to the HTable (gdcmDicomDirObject needs it 
  *               to build the gdcmHeaderEntries)
  */
 gdcmDicomDirStudy::gdcmDicomDirStudy(gdcmSQItem *s, TagDocEntryHT *ptagHT):
-   gdcmObject(ptagHT)
+   gdcmDicomDirObject(ptagHT)
 {
    docEntries = s->GetDocEntries();
 }
 /**
  * \ingroup gdcmDicomDirStudy
  * \brief constructor  
- * @param ptagHT pointer to the HTable (gdcmObject needs it 
+ * @param ptagHT pointer to the HTable (gdcmDicomDirObject needs it 
  *               to build the gdcmHeaderEntries)
  */
 gdcmDicomDirStudy::gdcmDicomDirStudy(TagDocEntryHT *ptagHT):
-   gdcmObject(ptagHT)
+   gdcmDicomDirObject(ptagHT)
 {
 }
 /**
@@ -66,7 +66,7 @@ gdcmDicomDirStudy::~gdcmDicomDirStudy()
 void gdcmDicomDirStudy::Print(std::ostream &os)
 {
    os << "STUDY" << std::endl;
-   gdcmObject::Print(os);
+   gdcmDicomDirObject::Print(os);
 
    for(ListDicomDirSerie::iterator cc = series.begin();
                                    cc != series.end();
@@ -86,7 +86,7 @@ void gdcmDicomDirStudy::Print(std::ostream &os)
  */ 
 void gdcmDicomDirStudy::Write(FILE *fp, FileType t)
 {
-   gdcmObject::Write(fp, t);
+   gdcmDicomDirObject::Write(fp, t);
 
    for(ListDicomDirSerie::iterator cc = series.begin();cc!=series.end();++cc)
    {
index 8c3c8d3e4fa2919fe38b3a237ab39c15d3cdaeb1..5f37eb2acb6f4d847e1994b4e9d4c4fd2bc1b386 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmDicomDirStudy.h,v $
   Language:  C++
-  Date:      $Date: 2004/08/26 15:29:52 $
-  Version:   $Revision: 1.7 $
+  Date:      $Date: 2004/09/23 10:47:10 $
+  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
 #ifndef GDCMDICOMDIRSTUDY_H
 #define GDCMDICOMDIRSTUDY_H
 
-#include "gdcmObject.h"
+#include "gdcmDicomDirObject.h"
 #include "gdcmDicomDirSerie.h"
 
 //-----------------------------------------------------------------------------
 typedef std::list<gdcmDicomDirSerie *> ListDicomDirSerie;
 
 //-----------------------------------------------------------------------------
-class GDCM_EXPORT gdcmDicomDirStudy : public gdcmObject
+class GDCM_EXPORT gdcmDicomDirStudy : public gdcmDicomDirObject
 {
 public:
    gdcmDicomDirStudy(gdcmSQItem *s, TagDocEntryHT *ptagHT); 
index 1b3cdad7e0814954acbde7b59d0d4c2192344a26..08cadfdb37d773b61ec4a5f058fafe4222ea744d 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmSQItem.h,v $
   Language:  C++
-  Date:      $Date: 2004/09/16 19:21:57 $
-  Version:   $Revision: 1.15 $
+  Date:      $Date: 2004/09/23 10:47:10 $
+  Version:   $Revision: 1.16 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -85,7 +85,7 @@ protected:
    int SQItemNumber;
 
    ///\brief pointer to the HTable of the gdcmDocument,
-   ///       (because we don't know it within any gdcmObject nor any gdcmSQItem)
+   ///       (because we don't know it within any gdcmDicomDirObject nor any gdcmSQItem)
    TagDocEntryHT *PtagHT;