Mercurial > hg > orthanc
comparison Core/DicomParsing/DicomModification.cpp @ 3194:47ef29168698
support of value multiplicity in ITagVisitor
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 05 Feb 2019 18:34:27 +0100 |
parents | 4e43e67f8ecf |
children | 880e4161c312 |
comparison
equal
deleted
inserted
replaced
3193:c6cfd502bf79 | 3194:47ef29168698 |
---|---|
93 const void* data, | 93 const void* data, |
94 size_t size) | 94 size_t size) |
95 { | 95 { |
96 } | 96 } |
97 | 97 |
98 virtual void VisitInteger(const std::vector<DicomTag>& parentTags, | 98 virtual void VisitIntegers(const std::vector<DicomTag>& parentTags, |
99 const std::vector<size_t>& parentIndexes, | |
100 const DicomTag& tag, | |
101 ValueRepresentation vr, | |
102 const std::vector<int64_t>& values) | |
103 { | |
104 } | |
105 | |
106 virtual void VisitDoubles(const std::vector<DicomTag>& parentTags, | |
99 const std::vector<size_t>& parentIndexes, | 107 const std::vector<size_t>& parentIndexes, |
100 const DicomTag& tag, | 108 const DicomTag& tag, |
101 ValueRepresentation vr, | 109 ValueRepresentation vr, |
102 int64_t value) | 110 const std::vector<double>& value) |
103 { | 111 { |
104 } | 112 } |
105 | 113 |
106 virtual void VisitDouble(const std::vector<DicomTag>& parentTags, | 114 virtual void VisitAttributes(const std::vector<DicomTag>& parentTags, |
107 const std::vector<size_t>& parentIndexes, | 115 const std::vector<size_t>& parentIndexes, |
108 const DicomTag& tag, | 116 const DicomTag& tag, |
109 ValueRepresentation vr, | 117 ValueRepresentation vr, |
110 double value) | 118 const std::vector<DicomTag>& value) |
111 { | |
112 } | |
113 | |
114 virtual void VisitAttribute(const std::vector<DicomTag>& parentTags, | |
115 const std::vector<size_t>& parentIndexes, | |
116 const DicomTag& tag, | |
117 ValueRepresentation vr, | |
118 const DicomTag& value) | |
119 { | 119 { |
120 } | 120 } |
121 | 121 |
122 virtual Action VisitString(std::string& newValue, | 122 virtual Action VisitString(std::string& newValue, |
123 const std::vector<DicomTag>& parentTags, | 123 const std::vector<DicomTag>& parentTags, |