]> Creatis software - gdcm.git/blobdiff - src/gdcmDocEntry.h
* src/gdcmHeader.cxx : change the initialisation of default header.
[gdcm.git] / src / gdcmDocEntry.h
index 45cf710fd3787229e7d173e18b7ead1742cc9748..62757c34d1c88d70dd88739fcbe5f91ffa934650 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmDocEntry.h,v $
   Language:  C++
-  Date:      $Date: 2004/10/25 04:08:20 $
-  Version:   $Revision: 1.28 $
+  Date:      $Date: 2004/12/03 20:16:58 $
+  Version:   $Revision: 1.32 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
 #define GDCMDOCENTRY_H
 
 #include "gdcmDictEntry.h"
+
 #include <iostream>
+#include <fstream>
 
+namespace gdcm 
+{
 class Header;
 class ValEntry;
 class BinEntry;
 class SeqEntry;
 
-namespace gdcm 
-{
 //-----------------------------------------------------------------------------
 /**
  * \brief   The dicom header of a Dicom file contains a set of such entries
@@ -126,7 +128,7 @@ public:
    int GetPrintLevel() { return PrintLevel; };
    
    virtual void Print (std::ostream & os = std::cout); 
-   virtual void Write(std::ofstream *fp, FileType filetype);
+   virtual void WriteContent(std::ofstream *fp, FileType filetype);
    
    uint32_t GetFullLength();
    
@@ -166,8 +168,8 @@ protected:
    /// How many details are to be printed (value : 0,1,2)      
    int PrintLevel;
 
-   /// \brief Generalized key (i.e. a BaseTagKey prepending a TagKey)
-   ///        of this DocEntry
+   /// \brief Generalized key of this DocEntry (for details on
+   ///        the generalized key refer to \ref TagKey documentation).
    TagKey Key;
 };
 } // end namespace gdcm