]> Creatis software - gdcm.git/blobdiff - src/gdcmDicomDir.h
* No comments...
[gdcm.git] / src / gdcmDicomDir.h
index f3f9b073e4f48101e4d9ec85dbad3629a886543d..6d70471cccd8c294e066ffcce052a0246e137110 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmDicomDir.h,v $
   Language:  C++
-  Date:      $Date: 2005/01/20 11:09:23 $
-  Version:   $Revision: 1.49 $
+  Date:      $Date: 2005/02/01 13:11:49 $
+  Version:   $Revision: 1.52 $
   
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -39,13 +39,12 @@ typedef std::list<DicomDirPatient *>   ListDicomDirPatient;
 typedef std::vector<Document *>  VectDocument;
 
 //-----------------------------------------------------------------------------
-
 /**
- * \ingroup DicomDir
  * \brief   DicomDir defines an object representing a DICOMDIR in memory
- *  as a tree-like structure DicomDirPatient -> DicomDirStudy -> DicomDirSerie
- * -> DicomDirImage
- *
+ *  as a tree-like structure DicomDirPatient 
+ *                            -> DicomDirStudy 
+ *                                -> DicomDirSerie
+ *                                    -> DicomDirImage
  */
 class GDCM_EXPORT DicomDir: public Document
 {
@@ -100,6 +99,9 @@ public:
    DicomDirMeta    *NewMeta();
    DicomDirPatient *NewPatient();
 
+   /// Removing
+   void ClearPatient();
+
    /// Write  
    bool WriteDicomDir(std::string const &fileName);
 
@@ -132,7 +134,7 @@ private:
    void SetElements(std::string const &path, VectDocument const &list);
    void SetElement (std::string const &path, DicomDirType type,
                     Document *header);
-   void MoveSQItem(SQItem *dst,SQItem *src);
+   void MoveSQItem(DocEntrySet *dst,DocEntrySet *src);
 
    static bool HeaderLessThan(Document *header1, Document *header2);