Mercurial > hg > orthanc
diff OrthancFramework/Sources/DicomFormat/DicomImageInformation.h @ 4312:6d49e3b6ff77
fix abi of DicomImageInformation
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 09 Nov 2020 15:22:43 +0100 |
parents | ab4d015af660 |
children | d9473bd5ed43 |
line wrap: on
line diff
--- a/OrthancFramework/Sources/DicomFormat/DicomImageInformation.h Mon Nov 09 15:07:55 2020 +0100 +++ b/OrthancFramework/Sources/DicomFormat/DicomImageInformation.h Mon Nov 09 15:22:43 2020 +0100 @@ -29,18 +29,7 @@ namespace Orthanc { class ORTHANC_PUBLIC DicomImageInformation - { - public: - /** - * This constant gives a bound on the maximum tag length that is - * useful to class "DicomImageInformation", in order to avoid - * using too much memory when copying DICOM tags from "DcmDataset" - * to "DicomMap" using "ExtractDicomSummary()". The value 256 - * corresponds to ORTHANC_MAXIMUM_TAG_LENGTH that was implicitly - * used in Orthanc <= 1.7.2. - **/ - static const unsigned int USEFUL_TAG_LENGTH = 256; - + { private: unsigned int width_; unsigned int height_; @@ -95,5 +84,15 @@ bool ignorePhotometricInterpretation) const; size_t GetFrameSize() const; + + /** + * This constant gives a bound on the maximum tag length that is + * useful to class "DicomImageInformation", in order to avoid + * using too much memory when copying DICOM tags from "DcmDataset" + * to "DicomMap" using "ExtractDicomSummary()". It answers the + * value 256, which corresponds to ORTHANC_MAXIMUM_TAG_LENGTH that + * was implicitly used in Orthanc <= 1.7.2. + **/ + static unsigned int GetUsefulTagLength(); }; }