]> Creatis software - gdcm.git/blobdiff - src/gdcmSQItem.h
Avoid FileHelper::CheckMandatoryElements to be confused by uncomplete headers
[gdcm.git] / src / gdcmSQItem.h
index cd6c7ccca2c31ea798f7e0a79b5a843763959ea0..ba147753d0cf48bcaa75d01e61a2ac6f8c24369b 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmSQItem.h,v $
   Language:  C++
-  Date:      $Date: 2005/11/29 17:11:52 $
-  Version:   $Revision: 1.50 $
+  Date:      $Date: 2007/08/22 16:14:04 $
+  Version:   $Revision: 1.54 $
                                                                                 
   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;
 
@@ -46,8 +46,8 @@ public:
    static SQItem *New(int depthLevel) {return new SQItem(depthLevel);}
 
    virtual void Print(std::ostream &os = std::cout, 
-                                               std::string const &indent = "" ); 
-   void WriteContent(std::ofstream *fp, FileType filetype);
+                      std::string const &indent = "" ); 
+   void WriteContent(std::ofstream *fp, FileType filetype, bool insideMetaElements);
    uint32_t ComputeFullLength();
 
    bool AddEntry(DocEntry *Entry); // add to the List