6 #include <unordered_map>
7 #include "knowrob/semweb/OntologyLanguage.h"
9 static const std::unordered_map<std::string_view, knowrob::semweb::OntologyLanguage> stringToMap = {
18 auto it = stringToMap.find(format);
19 return (it != stringToMap.end());
23 auto it = stringToMap.find(format);
24 if (it != stringToMap.end()) {
std::string_view ontologyLanguageToString(OntologyLanguage format)
bool isOntologyLanguageString(std::string_view format)
OntologyLanguage ontologyLanguageFromString(std::string_view format)