]> Creatis software - gdcm.git/blobdiff - src/gdcmDocEntryArchive.h
2005-01-13 Jean-Pierre Roux <jpr@creatis.univ-lyon1.fr>
[gdcm.git] / src / gdcmDocEntryArchive.h
index 99bdaea475814997524688740c432a982b153cdd..98d30d7df25d472dd5029c4c863e3f361dfbdaf1 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmDocEntryArchive.h,v $
   Language:  C++
-  Date:      $Date: 2004/11/19 18:49:39 $
-  Version:   $Revision: 1.1 $
+  Date:      $Date: 2005/01/11 15:15:38 $
+  Version:   $Revision: 1.4 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
 #ifndef GDCMDOCENTRYARCHIVE_H
 #define GDCMDOCENTRYARCHIVE_H
 
-#include "gdcmCommon.h"
 #include "gdcmHeader.h"
 
 namespace gdcm 
 {
 
 //-----------------------------------------------------------------------------
-/*
- * /brief Container 
- *
+/**
+ * \brief Container 
  * It's goal is to change the Header correctly. At this time, the change is 
  * only made for the first level of the Document. In the future, it might 
- * consider sequences.
+ * consider Dicom Sequences (SeqEntry, within any SQItem).
  * The change is made by replacing a DocEntry by an other that is created
- * outside the class. The old value is kept. When we restore the header
+ * outside the class. The old value is kept. When we restore the Header
  * status, the added DocEntry is deleted and replaced by the old value.
  */
 class GDCM_EXPORT DocEntryArchive 
@@ -45,6 +43,7 @@ public:
    void Print(std::ostream &os = std::cout);
 
    bool Push(DocEntry *newEntry);
+   bool Push(uint16_t group,uint16_t element);
    bool Restore(uint16_t group,uint16_t element);
 
    void ClearArchive(void);