|
opynsim
Unofficial C++ Documentation
|
#include <resource_loader.h>
Public Member Functions | |
| ResourceLoader (std::shared_ptr< VirtualFilesystem > impl, ResourcePath prefix=ResourcePath{}) | |
| bool | resource_exists (const ResourcePath &resource_path) |
| ResourceStream | open (const ResourcePath &resource_path) |
| std::string | slurp (const ResourcePath &resource_path) |
| ResourceLoader | with_prefix (const ResourcePath &prefix) const |
| template<typename StringLike > requires std::constructible_from<ResourceLoader, StringLike&&> | |
| ResourceLoader | with_prefix (StringLike &&str) const |
| cpp23::generator< ResourceDirectoryEntry > | iterate_directory (const ResourcePath &resource_path) |
Friends | |
| template<std::derived_from< VirtualFilesystem > TResourceLoader, typename... Args> requires std::constructible_from<TResourceLoader, Args&&...> | |
| ResourceLoader | make_resource_loader (Args &&...) |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |