X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmDocEntryArchive.h;h=98d30d7df25d472dd5029c4c863e3f361dfbdaf1;hb=963480c814326423065a4a02fa1bf8bc1243ae4f;hp=99bdaea475814997524688740c432a982b153cdd;hpb=3c25b6a04715c20b3680bca5447b4f10add258fd;p=gdcm.git diff --git a/src/gdcmDocEntryArchive.h b/src/gdcmDocEntryArchive.h index 99bdaea4..98d30d7d 100644 --- a/src/gdcmDocEntryArchive.h +++ b/src/gdcmDocEntryArchive.h @@ -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 @@ -19,21 +19,19 @@ #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);