comparison OrthancFramework/Sources/DicomFormat/DicomImageInformation.h @ 4076:eab8010c05fc framework

avoid relying on boost::bad_lexical_cast in DicomImageInformation
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 19 Jun 2020 18:45:16 +0200
parents d25f4c0fa160
children bf7b9edf6b81
comparison
equal deleted inserted replaced
4075:ea95eecead6f 4076:eab8010c05fc
43 { 43 {
44 private: 44 private:
45 unsigned int width_; 45 unsigned int width_;
46 unsigned int height_; 46 unsigned int height_;
47 unsigned int samplesPerPixel_; 47 unsigned int samplesPerPixel_;
48 unsigned int numberOfFrames_; 48 uint32_t numberOfFrames_;
49 49
50 bool isPlanar_; 50 bool isPlanar_;
51 bool isSigned_; 51 bool isSigned_;
52 size_t bytesPerValue_; 52 size_t bytesPerValue_;
53 53
54 unsigned int bitsAllocated_; 54 uint32_t bitsAllocated_;
55 unsigned int bitsStored_; 55 uint32_t bitsStored_;
56 unsigned int highBit_; 56 uint32_t highBit_;
57 57
58 PhotometricInterpretation photometric_; 58 PhotometricInterpretation photometric_;
59 59
60 protected: 60 protected:
61 explicit DicomImageInformation() 61 explicit DicomImageInformation()