comparison Framework/Plugins/StorageBackend.cpp @ 245:9d00e5e073e8

rename FileValue as ResultFileValue
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 13 Apr 2021 18:50:44 +0200
parents 02cd7254c949
children 483af3f35a4b
comparison
equal deleted inserted replaced
244:02cd7254c949 245:9d00e5e073e8
24 #if HAS_ORTHANC_EXCEPTION != 1 24 #if HAS_ORTHANC_EXCEPTION != 1
25 # error HAS_ORTHANC_EXCEPTION must be set to 1 25 # error HAS_ORTHANC_EXCEPTION must be set to 1
26 #endif 26 #endif
27 27
28 #include "../../Framework/Common/BinaryStringValue.h" 28 #include "../../Framework/Common/BinaryStringValue.h"
29 #include "../../Framework/Common/FileValue.h" 29 #include "../../Framework/Common/ResultFileValue.h"
30 30
31 #include <Compatibility.h> // For std::unique_ptr<> 31 #include <Compatibility.h> // For std::unique_ptr<>
32 #include <OrthancException.h> 32 #include <OrthancException.h>
33 33
34 #include <cassert> 34 #include <cassert>
145 { 145 {
146 const IValue& value = statement.GetResultField(0); 146 const IValue& value = statement.GetResultField(0);
147 147
148 switch (value.GetType()) 148 switch (value.GetType())
149 { 149 {
150 case ValueType_File: 150 case ValueType_ResultFile:
151 visitor.Assign(dynamic_cast<const FileValue&>(value).GetContent()); 151 visitor.Assign(dynamic_cast<const ResultFileValue&>(value).GetContent());
152 break; 152 break;
153 153
154 case ValueType_BinaryString: 154 case ValueType_BinaryString:
155 visitor.Assign(dynamic_cast<const BinaryStringValue&>(value).GetContent()); 155 visitor.Assign(dynamic_cast<const BinaryStringValue&>(value).GetContent());
156 break; 156 break;