|
FindResourceResult | FindResource (const std::string &resource_path) |
| (Advanced) Attempts to locate a Drake resource named by the given resource_path . More...
|
|
std::string | FindResourceOrThrow (const std::string &resource_path) |
| (Advanced) Convenient wrapper for querying FindResource(resource_path) followed by FindResourceResult::get_absolute_path_or_throw(). More...
|
|
std::optional< std::string > | ReadFile (const std::filesystem::path &path) |
| Returns the content of the file at the given path, or nullopt if it cannot be read. More...
|
|
std::string | ReadFileOrThrow (const std::filesystem::path &path) |
| Returns the content of the file at the given path, or throws if it cannot be read. More...
|
|