|
HDK
|
#include <defaultResolverContext.h>
Public Member Functions | |
| ArDefaultResolverContext ()=default | |
| Default construct a context with no search path. More... | |
| AR_API | ArDefaultResolverContext (const std::vector< std::string > &searchPath) |
| AR_API bool | operator< (const ArDefaultResolverContext &rhs) const |
| AR_API bool | operator== (const ArDefaultResolverContext &rhs) const |
| AR_API bool | operator!= (const ArDefaultResolverContext &rhs) const |
| const std::vector< std::string > & | GetSearchPath () const |
| Return this context's search path. More... | |
| AR_API std::string | GetAsString () const |
| Return a string representation of this context for debugging. More... | |
Resolver context object that specifies a search path to use during asset resolution. This object is intended for use with the default ArDefaultResolver asset resolution implementation; see documentation for that class for more details on the search path resolution algorithm.
Example usage:
Definition at line 46 of file defaultResolverContext.h.
|
default |
Default construct a context with no search path.
| AR_API ArDefaultResolverContext::ArDefaultResolverContext | ( | const std::vector< std::string > & | searchPath | ) |
Construct a context with the given searchPath. Elements in searchPath should be absolute paths. If they are not, they will be anchored to the current working directory.
| AR_API std::string ArDefaultResolverContext::GetAsString | ( | ) | const |
Return a string representation of this context for debugging.
|
inline |
Return this context's search path.
Definition at line 62 of file defaultResolverContext.h.
| AR_API bool ArDefaultResolverContext::operator!= | ( | const ArDefaultResolverContext & | rhs | ) | const |
| AR_API bool ArDefaultResolverContext::operator< | ( | const ArDefaultResolverContext & | rhs | ) | const |
| AR_API bool ArDefaultResolverContext::operator== | ( | const ArDefaultResolverContext & | rhs | ) | const |