6 #ifndef KNOWROB_DATA_SOURCES_H_
7 #define KNOWROB_DATA_SOURCES_H_
10 #include "knowrob/URI.h"
11 #include "knowrob/semweb/Vocabulary.h"
39 const auto &
uri()
const {
return uri_(); }
97 static std::shared_ptr<DataSource>
static std::string getNameFromURI(const std::string &uriString)
DataSourceType dataSourceType_
static std::string getNameFromURI(const std::string &uriString)
static std::string getVersionFromURI(const std::string &uriString)
const auto & path() const
const auto & format() const
DataSourceType dataSourceType() const
static std::shared_ptr< DataSource > create(const VocabularyPtr &vocabulary, const boost::property_tree::ptree &config)
static std::string getVersionFromURI(const std::string &uriString)
DataSource(URI uri, std::string_view format, DataSourceType dataSourceType)
static bool isVersionString(const std::string &versionString)
const std::string & path() const
std::shared_ptr< DataSource > DataSourcePtr
std::shared_ptr< Vocabulary > VocabularyPtr