comparison OrthancServer/Plugins/Engine/OrthancPluginDatabaseV3.cpp @ 5249:f22c8fac764b db-protobuf

added "/tools/labels" to list all the labels that are associated with any resource
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 07 Apr 2023 22:54:57 +0200
parents a7d95f951f8a
children 176bc05f85f4 48b8dae6dc77
comparison
equal deleted inserted replaced
5248:a7d95f951f8a 5249:f22c8fac764b
1050 } 1050 }
1051 1051
1052 1052
1053 virtual void ListLabels(std::set<std::string>& target, 1053 virtual void ListLabels(std::set<std::string>& target,
1054 int64_t resource) ORTHANC_OVERRIDE 1054 int64_t resource) ORTHANC_OVERRIDE
1055 {
1056 throw OrthancException(ErrorCode_InternalError); // Not supported
1057 }
1058
1059
1060 virtual void ListAllLabels(std::set<std::string>& target) ORTHANC_OVERRIDE
1055 { 1061 {
1056 throw OrthancException(ErrorCode_InternalError); // Not supported 1062 throw OrthancException(ErrorCode_InternalError); // Not supported
1057 } 1063 }
1058 }; 1064 };
1059 1065