X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmParser.h;h=cd18a817f23ffbccda29cda7fe34574b4b57c6ae;hb=d3e997d981d84fece924c52c8b513bccc6cd371a;hp=2ca4a793f1c21136b6854d139f9b4a474644fcf4;hpb=d7a4d5d474ae599b723e52ebda8bd3fc6cee752a;p=gdcm.git diff --git a/src/gdcmParser.h b/src/gdcmParser.h index 2ca4a793..cd18a817 100644 --- a/src/gdcmParser.h +++ b/src/gdcmParser.h @@ -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; }; //-----------------------------------------------------------------------------