]> Creatis software - gdcm.git/blobdiff - src/gdcmSeqEntry.h
Solves the problem of +/-1 on some images.
[gdcm.git] / src / gdcmSeqEntry.h
index 386eab3219dff816e4c3c4e4f800b3a6475f2c68..e29f3fef3d23e7adaa1e6c70e428e01eca0b4a2d 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmSeqEntry.h,v $
   Language:  C++
-  Date:      $Date: 2006/04/13 08:05:52 $
-  Version:   $Revision: 1.42 $
+  Date:      $Date: 2007/08/29 15:30:50 $
+  Version:   $Revision: 1.46 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
                                                                                 
 =========================================================================*/
 
-#ifndef GDCMSQDOCENTRY_H
-#define GDCMSQDOCENTRY_H
+#ifndef _GDCMSQDOCENTRY_H_
+#define _GDCMSQDOCENTRY_H_
 
 #include "gdcmDocEntry.h"
 
 #include <list>
 
-namespace gdcm 
+namespace GDCM_NAME_SPACE 
 {
 class SQItem;
 //-----------------------------------------------------------------------------
@@ -51,7 +51,8 @@ public:
                            {return new SeqEntry(group,elem);}
    
    void Print(std::ostream &os = std::cout, std::string const &indent = "" ); 
-   void WriteContent(std::ofstream *fp, FileType filetype);
+   void WriteContent(std::ofstream *fp, FileType filetype,
+                     bool insideMetaElements, bool insideSequence);
    uint32_t ComputeFullLength();
 
    void AddSQItem(SQItem *it, int itemNumber);