// 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
/**
* \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)
* \ingroup gdcmHeader
* \brief anonymize a Header (removes Patient's personal info)
* (read the code to see which ones ...)
- * @param
*/
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