6 #include <unordered_map>
7 #include "knowrob/semweb/TripleFormat.h"
9 static const std::unordered_map<std::string_view, knowrob::semweb::TripleFormat> stringToMap = {
29 static const std::unordered_map<std::string_view, knowrob::semweb::TripleFormat> stringToMap2 = {
36 auto it = stringToMap.find(format);
37 return (it != stringToMap.end());
41 auto it = stringToMap.find(format);
42 if (it != stringToMap.end()) {
45 it = stringToMap2.find(format);
46 if (it != stringToMap2.end()) {
bool isTripleFormatString(std::string_view format)
std::string_view tripleFormatToString(TripleFormat format)
TripleFormat tripleFormatFromString(std::string_view format)
std::string_view tripleFormatMimeType(TripleFormat format)