33 #ifndef DART_COMMON_LOCALRESOURCERETRIEVER_HPP_
34 #define DART_COMMON_LOCALRESOURCERETRIEVER_HPP_
LocalResourceRetriever provides access to local resources specified by file:// URIs by wrapping the s...
Definition: LocalResourceRetriever.hpp:44
ResourcePtr retrieve(const Uri &_uri) override
Returns the resource specified by a URI or nullptr on failure.
Definition: LocalResourceRetriever.cpp:50
std::string getFilePath(const Uri &uri) override
Returns absolute file path to uri; an empty string if unavailable.
Definition: LocalResourceRetriever.cpp:67
bool exists(const Uri &_uri) override
Returns whether the resource specified by a URI exists.
Definition: LocalResourceRetriever.cpp:44
virtual ~LocalResourceRetriever()=default
ResourceRetriever provides methods for testing for the existance of and accessing the content of a re...
Definition: ResourceRetriever.hpp:47
std::shared_ptr< Resource > ResourcePtr
Definition: Resource.hpp:88
std::shared_ptr< LocalResourceRetriever > LocalResourceRetrieverPtr
Definition: LocalResourceRetriever.hpp:58
Definition: BulletCollisionDetector.cpp:63
The Uri struct provides URI parsing and merging functionality based on RFC 3986.
Definition: Uri.hpp:87