comparison Plugins/Samples/DatabasePlugin/Database.cpp @ 1761:f4286d99ee0a db-changes

fix sample database plugin
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 29 Oct 2015 11:22:48 +0100
parents 3926e6317a43
children 559956d5ceb2
comparison
equal deleted inserted replaced
1760:51db4a25a741 1761:f4286d99ee0a
338 Orthanc::DicomArray arr(tags); 338 Orthanc::DicomArray arr(tags);
339 for (size_t i = 0; i < arr.GetSize(); i++) 339 for (size_t i = 0; i < arr.GetSize(); i++)
340 { 340 {
341 GetOutput().AnswerDicomTag(arr.GetElement(i).GetTag().GetGroup(), 341 GetOutput().AnswerDicomTag(arr.GetElement(i).GetTag().GetGroup(),
342 arr.GetElement(i).GetTag().GetElement(), 342 arr.GetElement(i).GetTag().GetElement(),
343 arr.GetElement(i).GetValue().AsString()); 343 arr.GetElement(i).GetValue().GetContent());
344 } 344 }
345 } 345 }
346 346
347 347
348 std::string Database::GetPublicId(int64_t resourceId) 348 std::string Database::GetPublicId(int64_t resourceId)