Mercurial > hg > orthanc
comparison Core/DicomFormat/DicomTag.h @ 106:332fec038d52
patch for dcmtk dictionaries
author | jodogne |
---|---|
date | Wed, 03 Oct 2012 17:53:23 +0200 |
parents | 6212bf978584 |
children | fe180eae201d |
comparison
equal
deleted
inserted
replaced
105:5bae1ac18ded | 106:332fec038d52 |
---|---|
52 return element_; | 52 return element_; |
53 } | 53 } |
54 | 54 |
55 bool operator< (const DicomTag& other) const; | 55 bool operator< (const DicomTag& other) const; |
56 | 56 |
57 bool operator== (const DicomTag& other) const | |
58 { | |
59 return group_ == other.group_ && element_ == other.element_; | |
60 } | |
61 | |
62 bool operator!= (const DicomTag& other) const | |
63 { | |
64 return !(*this == other); | |
65 } | |
66 | |
57 std::string Format() const; | 67 std::string Format() const; |
58 | 68 |
59 friend std::ostream& operator<< (std::ostream& o, const DicomTag& tag); | 69 friend std::ostream& operator<< (std::ostream& o, const DicomTag& tag); |
60 }; | 70 }; |
61 | 71 |
72 | 82 |
73 static const DicomTag DICOM_TAG_NUMBER_OF_SLICES(0x0054, 0x0081); | 83 static const DicomTag DICOM_TAG_NUMBER_OF_SLICES(0x0054, 0x0081); |
74 static const DicomTag DICOM_TAG_NUMBER_OF_FRAMES(0x0028, 0x0008); | 84 static const DicomTag DICOM_TAG_NUMBER_OF_FRAMES(0x0028, 0x0008); |
75 static const DicomTag DICOM_TAG_CARDIAC_NUMBER_OF_IMAGES(0x0018, 0x1090); | 85 static const DicomTag DICOM_TAG_CARDIAC_NUMBER_OF_IMAGES(0x0018, 0x1090); |
76 static const DicomTag DICOM_TAG_IMAGES_IN_ACQUISITION(0x0020, 0x1002); | 86 static const DicomTag DICOM_TAG_IMAGES_IN_ACQUISITION(0x0020, 0x1002); |
87 | |
88 static const DicomTag DICOM_TAG_PATIENT_NAME(0x0010, 0x0010); | |
77 } | 89 } |