From: jpr Date: Wed, 4 Feb 2004 13:46:40 +0000 (+0000) Subject: Modif to be RedHat 7.3 compliant (?!) X-Git-Tag: Version0.4~22 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=2ad968707c3eea27dff9d8dd5f4caf9f7b6c4d6e;p=gdcm.git Modif to be RedHat 7.3 compliant (?!) --- diff --git a/src/gdcmParser.cxx b/src/gdcmParser.cxx index 2bb771cb..b2aeb4e3 100644 --- a/src/gdcmParser.cxx +++ b/src/gdcmParser.cxx @@ -97,6 +97,7 @@ gdcmParser::gdcmParser(const char *InFilename, bool ignore_shadow) { enableSequences=enable_sequences; ignoreShadow =ignore_shadow; + cout << "chou" << endl; SetMaxSizeLoadEntry(MAX_SIZE_LOAD_ELEMENT_VALUE); filename = InFilename; @@ -120,6 +121,7 @@ gdcmParser::gdcmParser(const char *InFilename, */ gdcmParser::gdcmParser(bool exception_on_error) { enableSequences=0; + cout << "chou" << endl; SetMaxSizeLoadEntry(MAX_SIZE_LOAD_ELEMENT_VALUE); Initialise(); @@ -674,7 +676,6 @@ bool gdcmParser::SetEntryByNumber(std::string content, * @param element element of the Entry to modify * @return 1 on success, 0 otherwise. */ - bool gdcmParser::SetEntryLengthByNumber(guint32 length, guint16 group, guint16 element) @@ -1562,7 +1563,7 @@ void gdcmParser::FindHeaderEntryVR( gdcmHeaderEntry *Entry) * and the taken VR. If they are different, the header entry is * updated with the new VR. * @param Entry - * @param VR + * @param vr * @return false if the VR is incorrect of if the VR isn't referenced * otherwise, it returns true */ @@ -2307,7 +2308,6 @@ gdcmDictEntry *gdcmParser::GetDictEntryByNumber(guint16 group,guint16 element) gdcmHeaderEntry *gdcmParser::ReadNextHeaderEntry(void) { guint16 g,n; gdcmHeaderEntry *NewEntry; - g = ReadInt16(); n = ReadInt16(); diff --git a/src/gdcmParser.h b/src/gdcmParser.h index c1af1932..9841aa80 100644 --- a/src/gdcmParser.h +++ b/src/gdcmParser.h @@ -117,7 +117,7 @@ protected: virtual bool SetEntryByName (std::string content, std::string tagName); virtual bool SetEntryByNumber(std::string content, guint16 group, guint16 element); - virtual bool SetEntryLengthByNumber(guint32 l, guint16 group, guint16 element); + virtual bool SetEntryLengthByNumber(guint32 length, guint16 group, guint16 element); virtual size_t GetEntryOffsetByNumber (guint16 Group, guint16 Elem); virtual void *GetEntryVoidAreaByNumber(guint16 Group, guint16 Elem);