comparison OrthancFramework/Sources/DicomParsing/DicomWebJsonVisitor.h @ 4734:b51c08bd5c38

added ITagVisitor::Action_Remove
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 05 Jul 2021 16:12:10 +0200
parents d9473bd5ed43
children 979ae3ea3381
comparison
equal deleted inserted replaced
4733:1db3b79d97bd 4734:b51c08bd5c38
83 83
84 #if ORTHANC_ENABLE_PUGIXML == 1 84 #if ORTHANC_ENABLE_PUGIXML == 1
85 void FormatXml(std::string& target) const; 85 void FormatXml(std::string& target) const;
86 #endif 86 #endif
87 87
88 virtual void VisitNotSupported(const std::vector<DicomTag>& parentTags, 88 virtual Action VisitNotSupported(const std::vector<DicomTag>& parentTags,
89 const std::vector<size_t>& parentIndexes, 89 const std::vector<size_t>& parentIndexes,
90 const DicomTag& tag, 90 const DicomTag& tag,
91 ValueRepresentation vr) 91 ValueRepresentation vr)
92 ORTHANC_OVERRIDE; 92 ORTHANC_OVERRIDE;
93 93
94 virtual void VisitEmptySequence(const std::vector<DicomTag>& parentTags, 94 virtual Action VisitEmptySequence(const std::vector<DicomTag>& parentTags,
95 const std::vector<size_t>& parentIndexes, 95 const std::vector<size_t>& parentIndexes,
96 const DicomTag& tag) 96 const DicomTag& tag)
97 ORTHANC_OVERRIDE; 97 ORTHANC_OVERRIDE;
98 98
99 virtual void VisitBinary(const std::vector<DicomTag>& parentTags, 99 virtual Action VisitBinary(const std::vector<DicomTag>& parentTags,
100 const std::vector<size_t>& parentIndexes,
101 const DicomTag& tag,
102 ValueRepresentation vr,
103 const void* data,
104 size_t size)
105 ORTHANC_OVERRIDE;
106
107 virtual void VisitIntegers(const std::vector<DicomTag>& parentTags,
108 const std::vector<size_t>& parentIndexes, 100 const std::vector<size_t>& parentIndexes,
109 const DicomTag& tag, 101 const DicomTag& tag,
110 ValueRepresentation vr, 102 ValueRepresentation vr,
111 const std::vector<int64_t>& values) 103 const void* data,
104 size_t size)
112 ORTHANC_OVERRIDE; 105 ORTHANC_OVERRIDE;
113 106
114 virtual void VisitDoubles(const std::vector<DicomTag>& parentTags, 107 virtual Action VisitIntegers(const std::vector<DicomTag>& parentTags,
115 const std::vector<size_t>& parentIndexes, 108 const std::vector<size_t>& parentIndexes,
116 const DicomTag& tag, 109 const DicomTag& tag,
117 ValueRepresentation vr, 110 ValueRepresentation vr,
118 const std::vector<double>& values) 111 const std::vector<int64_t>& values)
119 ORTHANC_OVERRIDE; 112 ORTHANC_OVERRIDE;
120 113
121 virtual void VisitAttributes(const std::vector<DicomTag>& parentTags, 114 virtual Action VisitDoubles(const std::vector<DicomTag>& parentTags,
122 const std::vector<size_t>& parentIndexes, 115 const std::vector<size_t>& parentIndexes,
123 const DicomTag& tag, 116 const DicomTag& tag,
124 const std::vector<DicomTag>& values) 117 ValueRepresentation vr,
118 const std::vector<double>& values)
119 ORTHANC_OVERRIDE;
120
121 virtual Action VisitAttributes(const std::vector<DicomTag>& parentTags,
122 const std::vector<size_t>& parentIndexes,
123 const DicomTag& tag,
124 const std::vector<DicomTag>& values)
125 ORTHANC_OVERRIDE; 125 ORTHANC_OVERRIDE;
126 126
127 virtual Action VisitString(std::string& newValue, 127 virtual Action VisitString(std::string& newValue,
128 const std::vector<DicomTag>& parentTags, 128 const std::vector<DicomTag>& parentTags,
129 const std::vector<size_t>& parentIndexes, 129 const std::vector<size_t>& parentIndexes,