6#include "pxr/usd/ar/resolvedPath.h"
24 assetIdent(
const ArResolvedPath &path,
const std::string &identifier,
bool is_static):
119 return std::hash<std::string>()(str);
cache element class used to represent an Usd asset in cache for the resolver
Definition: assetIdentDef.h:16
bool setAssetIdentifier(const std::string inAssetIdentifier)
allows you to set the internal m_assetIdentifier
assetIdent & operator=(const assetIdent &other)
bool is_valid() const
this function allows you to know if an given assetIdent's cache is still valid.
bool is_modifiable() const
allows you to know if you can modify the data in this assetIdent it is also used in getAssetIdentifie...
bool m_invalidated
Definition: assetIdentDef.h:106
void validate()
allows you to validate this assetIdent.
assetIdent(bool is_static)
Definition: assetIdentDef.h:20
std::string m_assetIdentifier
Definition: assetIdentDef.h:108
bool operator==(const assetIdent &other) const
std::string getAssetIdentifier() const
returns the asset identifier
bool setResolvedAssetPath(const ArResolvedPath &inResolvedAssetPath)
allows setting the ResolvedAssetPath
assetIdent(const std::string &assetIdentifier)
Definition: assetIdentDef.h:22
assetIdent(const ArResolvedPath &path, const std::string &identifier, bool is_static)
Definition: assetIdentDef.h:24
const bool m_static
Definition: assetIdentDef.h:105
void invalidate()
allows you to invalidate this assetIdent.
void printInfo() const
this function will print out all debug info about this assetIdent instance
bool is_empty() const
can be used to know if given assetIdent has data in it
ArResolvedPath m_resolvedAssetPath
Definition: assetIdentDef.h:107
ArResolvedPath getResolvedAssetPath() const
returns the ResolvedAssetPath for this assetIdent
bool setResolvedAssetPath(const std::string &inResolvedAssetPath)
assetIdent()
Definition: assetIdentDef.h:18
Definition: wrapResolverTokens.cpp:14
Definition: assetIdentDef.h:111
size_t operator()(const std::string &str) const
Definition: assetIdentDef.h:118
size_t operator()(const assetIdent &instance) const
Definition: assetIdentDef.h:113