#include <resolverContextCache.h>
◆ PinningFileHandler()
| PXR_NAMESPACE_USING_DIRECTIVE PinningFileHandler::PinningFileHandler |
( |
const std::string & |
pinningFilePath, |
|
|
const std::unordered_map< std::string, std::string > & |
rootReplaceData |
|
) |
| |
◆ ~PinningFileHandler()
| PinningFileHandler::~PinningFileHandler |
( |
| ) |
|
|
default |
◆ getAssetData()
| AssetIdentifier PinningFileHandler::getAssetData |
( |
const std::string & |
resolveKey | ) |
|
return AssetIdentifier populated with root rootReplaceData from the pinning file using the pinning file data loaded at construction and the PROJECT_ROOTS env variable.
this is not a cached function it will reconstruct the AssetIdentifier. it will not reload the file or the env var however.
- Parameters
-
- Returns
- populated AssetIdentifier if key was found in pinning file. Empty AssetIdentifier if key was not found
◆ m_pinningFileData
| nlohmann::json PinningFileHandler::m_pinningFileData |
|
private |
◆ m_pinningFilePath
| std::filesystem::path PinningFileHandler::m_pinningFilePath |
|
private |
◆ m_rootReplaceData
| std::unordered_map<std::string, std::string> PinningFileHandler::m_rootReplaceData |
|
private |
The documentation for this class was generated from the following files: