Mercurial > hg > orthanc
diff OrthancServer/ServerToolbox.h @ 2121:7e8889bc95c6
refactoring
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 07 Nov 2016 11:28:12 +0100 |
parents | 4b02ec79728a |
children | 1cf093cbdad8 |
line wrap: on
line diff
--- a/OrthancServer/ServerToolbox.h Mon Nov 07 11:19:19 2016 +0100 +++ b/OrthancServer/ServerToolbox.h Mon Nov 07 11:28:12 2016 +0100 @@ -60,5 +60,19 @@ void ReconstructMainDicomTags(IDatabaseWrapper& database, IStorageArea& storageArea, ResourceType level); + + void LoadIdentifiers(const DicomTag*& tags, + size_t& size, + ResourceType level); + + bool IsIdentifier(const DicomTag& tag, + ResourceType level); + + void StoreIdentifiers(IDatabaseWrapper& database, + int64_t resource, + ResourceType level, + const DicomMap& map); + + std::string NormalizeIdentifier(const std::string& value); } }