]> Creatis software - gdcm.git/blobdiff - src/gdcmHeader.cxx
* src/gdcmUtil.[cxx|h] _cleanString C style function (replaced with
[gdcm.git] / src / gdcmHeader.cxx
index fce0e4657cafb40017c4d3ededc45bc7ae557d28..f0fdcf33d2e2ba2fdd5d2d878798ad6dd3ab8336 100644 (file)
@@ -1,22 +1,22 @@
 // gdcmHeader.cxx
 //-----------------------------------------------------------------------------
-#include "gdcmHeader.h"
-
 #include <stdio.h>
 #include <cerrno>
 #include <cctype>    // for isalpha
+#include <vector>
 
+#include "gdcmHeader.h"
 #include "gdcmUtil.h"
+#include "gdcmDebug.h"
 #include "gdcmTS.h"
 
-
 //-----------------------------------------------------------------------------
 // Constructor / Destructor
 /**
  * \ingroup gdcmHeader
  * \brief  Constructor 
- * @param   InFilename
- * @param   exception_on_error
+ * @param   InFilename name of the file whose header we want to analyze
+ * @param   exception_on_error whether we want to throw an exception or not
  * @param   enable_sequences = true to allow the header 
  *          to be parsed *inside* the SeQuences, 
  *          when they have an actual length 
@@ -63,7 +63,7 @@ gdcmHeader::gdcmHeader(const char *InFilename,
 /**
  * \ingroup gdcmHeader
  * \brief Constructor  
- * @param   exception_on_error
+ * @param   exception_on_error whether we want to throw an exception or not
  */
 gdcmHeader::gdcmHeader(bool exception_on_error) :
    gdcmParser(exception_on_error)
@@ -790,7 +790,6 @@ void gdcmHeader::SetImageDataSize(size_t ImageDataSize) {
  * \ingroup   gdcmHeader
  * \brief anonymize a Header (removes Patient's personal info)
  *        (read the code to see which ones ...)
- * @param 
  */
 bool gdcmHeader::anonymizeHeader() {
 
@@ -810,7 +809,7 @@ bool gdcmHeader::anonymizeHeader() {
   }
   
   // Just for fun :-(
-  // (if any) remove or replace 
+  // (if any) remove or replace all the stuff that contains a Date
   
 //0008 0012 DA ID Instance Creation Date
 //0008 0020 DA ID Study Date