]> Creatis software - gdcm.git/blobdiff - src/gdcmParser.h
* Bug fix on field having a VR = 'UI'. Assume that is a string field
[gdcm.git] / src / gdcmParser.h
index 2ca4a793f1c21136b6854d139f9b4a474644fcf4..cd18a817f23ffbccda29cda7fe34574b4b57c6ae 100644 (file)
@@ -62,7 +62,7 @@ public:
    bool SetShaDict(DictKey dictName);
 
 // Informations contained in the parser
-   bool IsReadable(void);
+   virtual bool IsReadable(void);
    bool IsImplicitVRLittleEndianTransferSyntax(void);
    bool IsExplicitVRLittleEndianTransferSyntax(void);
    bool IsDeflatedExplicitVRLittleEndianTransferSyntax(void);
@@ -137,6 +137,10 @@ protected:
    static const unsigned int HEADER_LENGTH_TO_READ; 
    static const unsigned int MAX_SIZE_LOAD_ELEMENT_VALUE;
 
+protected:
+   int enableSequences;
+   int printLevel;
+
 private:
    // Read
    void Parse(bool exception_on_error = false) throw(gdcmFormatError);
@@ -195,7 +199,7 @@ private:
 
    TagHeaderEntryHT tagHT; // H Table (multimap), to provide fast access
    ListTag listEntries;    // chained list, to keep the 'spacial' ordering 
-   int enableSequences;
+
 
    // true if a gdcmHeaderEntry was added post parsing 
    int wasUpdated;
@@ -209,9 +213,6 @@ private:
    // this upper bound is fixed to 1024 bytes (which might look reasonable
    // when one considers the definition of the various VR contents).
    guint32 MaxSizeLoadEntry;
-
-   // for PrintHeader
-   int printLevel;
 };
 
 //-----------------------------------------------------------------------------