X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmHeaderEntry.cxx;h=cca4311b3d76c89b827cd2a24aa7704da5fb9ade;hb=5311d94213fb3d388924e1d5b8a9e11d1d40fcb3;hp=0185b9157ce0844e180d81b6b669043a9b9d075b;hpb=cc65499518ef9cab0d2b3d348bc15cfc2990a31a;p=gdcm.git diff --git a/src/gdcmHeaderEntry.cxx b/src/gdcmHeaderEntry.cxx index 0185b915..cca4311b 100644 --- a/src/gdcmHeaderEntry.cxx +++ b/src/gdcmHeaderEntry.cxx @@ -14,7 +14,7 @@ #include // for std::ios::left, ... -#define MAX_SIZE_PRINT_ELEMENT_VALUE 10000 +#define MAX_SIZE_PRINT_ELEMENT_VALUE 64 //----------------------------------------------------------------------------- // Constructor / Destructor @@ -31,6 +31,10 @@ gdcmHeaderEntry::gdcmHeaderEntry(gdcmDictEntry* in) { //----------------------------------------------------------------------------- // Print +/** + * \ingroup gdcmHeaderEntry + * \brief canonical Printer + */ void gdcmHeaderEntry::Print(std::ostream & os) { size_t o; unsigned short int g, e; @@ -41,6 +45,7 @@ void gdcmHeaderEntry::Print(std::ostream & os) { std::ostringstream s; guint32 lgth; char greltag[10]; //group element tag + g = GetGroup(); e = GetElement(); v = GetValue(); @@ -49,7 +54,7 @@ void gdcmHeaderEntry::Print(std::ostream & os) { sprintf(greltag,"%04x|%04x ",g,e); s << greltag ; - d2 = _CreateCleanString(v); // replace non printable characters by '.' + d2 = CreateCleanString(v); // replace non printable characters by '.' if (printLevel>=2) { s << "lg : "; lgth = GetReadLength(); // ReadLength, as opposed to UsableLength