]> Creatis software - gdcm.git/commitdiff
Modif to be RedHat 7.3 compliant (?!)
authorjpr <jpr>
Wed, 4 Feb 2004 13:46:40 +0000 (13:46 +0000)
committerjpr <jpr>
Wed, 4 Feb 2004 13:46:40 +0000 (13:46 +0000)
src/gdcmParser.cxx
src/gdcmParser.h

index 2bb771cbd2f1236d005d81e71ff6d28939d5eb71..b2aeb4e32183325f90e4e4e23ee05286405ea483 100644 (file)
@@ -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();
       
index c1af1932e77e76a5a0ff9be7460307cef0d47d09..9841aa80014b704c71e0fbaa2357be27c9c62715 100644 (file)
@@ -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);