33 #ifndef DART_COMMON_RESOURCERETRIEVER_HPP_
34 #define DART_COMMON_RESOURCERETRIEVER_HPP_
ResourceRetriever provides methods for testing for the existance of and accessing the content of a re...
Definition: ResourceRetriever.hpp:47
virtual std::string getFilePath(const Uri &uri)
Returns absolute file path to uri; an empty string if unavailable.
Definition: ResourceRetriever.cpp:57
virtual ResourcePtr retrieve(const Uri &_uri)=0
Returns the resource specified by a URI or nullptr on failure.
virtual bool exists(const Uri &_uri)=0
Returns whether the resource specified by a URI exists.
virtual ~ResourceRetriever()=default
virtual std::string readAll(const Uri &uri)
Reads all data from the resource of uri, and returns it as a string.
Definition: ResourceRetriever.cpp:42
std::shared_ptr< Resource > ResourcePtr
Definition: Resource.hpp:88
std::shared_ptr< ResourceRetriever > ResourceRetrieverPtr
Definition: ResourceRetriever.hpp:76
Definition: BulletCollisionDetector.cpp:63
The Uri struct provides URI parsing and merging functionality based on RFC 3986.
Definition: Uri.hpp:87