comparison OrthancServer/DatabaseWrapper.cpp @ 1725:a7c05bbfaf6a db-changes

refactoring
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 20 Oct 2015 11:21:36 +0200
parents 3926e6317a43
children 54d78925cbb6
comparison
equal deleted inserted replaced
1724:7e0b5e413c7c 1725:a7c05bbfaf6a
462 throw OrthancException(code); 462 throw OrthancException(code);
463 } 463 }
464 } 464 }
465 465
466 466
467 void DatabaseWrapper::LookupIdentifier(std::list<int64_t>& target,
468 const DicomTag& tag,
469 const std::string& value)
470 {
471 if (!tag.IsIdentifier())
472 {
473 throw OrthancException(ErrorCode_ParameterOutOfRange);
474 }
475
476 base_.LookupIdentifier(target, tag, value);
477 }
478
479
480 void DatabaseWrapper::GetAllMetadata(std::map<MetadataType, std::string>& target, 467 void DatabaseWrapper::GetAllMetadata(std::map<MetadataType, std::string>& target,
481 int64_t id) 468 int64_t id)
482 { 469 {
483 target.clear(); 470 target.clear();
484 471