Mercurial > hg > orthanc
diff OrthancFramework/Sources/SerializationToolbox.h @ 5379:b31c73bc7cb6
Toolbox : more set functions
author | Alain Mazy <am@osimis.io> |
---|---|
date | Thu, 31 Aug 2023 15:20:41 +0200 |
parents | f783b99e4738 |
children | 97004471a5c5 |
line wrap: on
line diff
--- a/OrthancFramework/Sources/SerializationToolbox.h Thu Aug 24 16:35:55 2023 +0200 +++ b/OrthancFramework/Sources/SerializationToolbox.h Thu Aug 31 15:20:41 2023 +0200 @@ -63,6 +63,9 @@ const Json::Value& value, const std::string& field); + static void ReadArrayOfStrings(std::vector<std::string>& target, + const Json::Value& value); + static void ReadListOfStrings(std::list<std::string>& target, const Json::Value& value, const std::string& field); @@ -71,6 +74,9 @@ const Json::Value& value, const std::string& field); + static void ReadSetOfStrings(std::set<std::string>& target, + const Json::Value& value); + static void ReadSetOfTags(std::set<DicomTag>& target, const Json::Value& value, const std::string& field);