gdcmDocEntryArchive.h

Go to the documentation of this file.
00001 /*=========================================================================
00002                                                                                 
00003   Program:   gdcm
00004   Module:    $RCSfile: gdcmDocEntryArchive.h,v $
00005   Language:  C++
00006   Date:      $Date: 2007/08/22 16:14:04 $
00007   Version:   $Revision: 1.11 $
00008                                                                                 
00009   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
00010   l'Image). All rights reserved. See Doc/License.txt or
00011   http://www.creatis.insa-lyon.fr/Public/Gdcm/License.html for details.
00012                                                                                 
00013      This software is distributed WITHOUT ANY WARRANTY; without even
00014      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00015      PURPOSE.  See the above copyright notices for more information.
00016                                                                                 
00017 =========================================================================*/
00018 
00019 #ifndef _GDCMDOCENTRYARCHIVE_H_
00020 #define _GDCMDOCENTRYARCHIVE_H_
00021 
00022 #include "gdcmFile.h"
00023 
00024 namespace GDCM_NAME_SPACE 
00025 {
00026 
00027 //-----------------------------------------------------------------------------
00037 class GDCM_EXPORT DocEntryArchive 
00038 {
00039 
00040 friend class FileHelper;
00041 
00042 private:
00043    DocEntryArchive(File *file);
00044    ~DocEntryArchive();
00045 
00046    void Print(std::ostream &os = std::cout);
00047 
00048    bool Push(DocEntry *newEntry);
00049    bool Push(uint16_t group,uint16_t elem);
00050    bool Restore(uint16_t group,uint16_t elem);
00051 
00052    void ClearArchive(void);
00053 
00055    File *ArchFile;
00057    TagDocEntryHT Archive;
00058 };
00059 } // end namespace gdcm
00060 
00061 //-----------------------------------------------------------------------------
00062 #endif

Generated on Fri Aug 24 12:53:14 2007 for gdcm by  doxygen 1.4.6