]> Creatis software - gdcm.git/blobdiff - src/gdcmSQItem.h
ENH: sometime you need to hold your compiler hand to guide him...
[gdcm.git] / src / gdcmSQItem.h
index 8d4e81c70feeb42fd15e3a1ec4c3590394e2e4d6..e45c252990ef6fb60612cd1c2ebf981612ac8b56 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmSQItem.h,v $
   Language:  C++
-  Date:      $Date: 2006/02/16 20:06:15 $
-  Version:   $Revision: 1.51 $
+  Date:      $Date: 2007/08/29 15:30:50 $
+  Version:   $Revision: 1.55 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -15,8 +15,8 @@
      PURPOSE.  See the above copyright notices for more information.
                                                                                 
 =========================================================================*/
-#ifndef GDCMSQITEM_H
-#define GDCMSQITEM_H
+#ifndef _GDCMSQITEM_H_
+#define _GDCMSQITEM_H_
 
 #include "gdcmDocEntrySet.h"
 #include "gdcmElementSet.h"
@@ -24,7 +24,7 @@
 #include <list>
 #include <fstream>
 
-namespace gdcm 
+namespace GDCM_NAME_SPACE 
 {
 class DocEntry;
 
@@ -47,7 +47,8 @@ public:
 
    virtual 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();
 
    bool AddEntry(DocEntry *Entry); // add to the List