|
libultraship
Reimplementations of libultra (N64 SDK) functions for modern hardware
|
Specifies which resources to include or exclude when performing a bulk load/unload. More...
#include <ResourceManager.h>
Public Member Functions | |
| ResourceFilter (const std::list< std::string > &includeMasks, const std::list< std::string > &excludeMasks, const uintptr_t owner, const std::shared_ptr< Archive > parent) | |
Public Attributes | |
| const std::list< std::string > | IncludeMasks |
| Glob patterns that a resource path must match to be included. | |
| const std::list< std::string > | ExcludeMasks |
| Glob patterns that cause a matching resource to be excluded even when it matches IncludeMasks. | |
| const uintptr_t | Owner = 0 |
| Opaque owner handle; 0 matches resources from any owner. | |
| const std::shared_ptr< Archive > | Parent = nullptr |
| Archive to scope the query to; nullptr matches resources from any archive. | |
Specifies which resources to include or exclude when performing a bulk load/unload.
IncludeMasks and ExcludeMasks are glob-style patterns matched against resource paths. Owner and Parent scope the query to resources loaded by a specific owner or from a specific archive (pass 0 / nullptr to match all).
| Ship::ResourceFilter::ResourceFilter | ( | const std::list< std::string > & | includeMasks, |
| const std::list< std::string > & | excludeMasks, | ||
| const uintptr_t | owner, | ||
| const std::shared_ptr< Archive > | parent | ||
| ) |
| const std::list<std::string> Ship::ResourceFilter::ExcludeMasks |
Glob patterns that cause a matching resource to be excluded even when it matches IncludeMasks.
| const std::list<std::string> Ship::ResourceFilter::IncludeMasks |
Glob patterns that a resource path must match to be included.
| const uintptr_t Ship::ResourceFilter::Owner = 0 |
Opaque owner handle; 0 matches resources from any owner.
| const std::shared_ptr<Archive> Ship::ResourceFilter::Parent = nullptr |
Archive to scope the query to; nullptr matches resources from any archive.