8#ifndef PXR_USD_USD_UTILS_USER_PROCESSING_FUNC
9#define PXR_USD_USD_UTILS_USER_PROCESSING_FUNC
14#include "pxr/usd/usdUtils/api.h"
20PXR_NAMESPACE_OPEN_SCOPE
32 : _assetPath(assetPath) {}
35 const std::string &assetPath,
36 const std::vector<std::string> &dependencies)
37 : _assetPath(assetPath), _dependencies(dependencies) {}
44 const std::string &assetPath,
45 const std::vector<std::string> &dependencies,
46 const std::string &rawAssetPath,
48 : _assetPath(assetPath), _dependencies(dependencies),
49 _rawAssetPath(rawAssetPath), _expressionVariables(expressionVariables)
52 friend class UsdUtils_LocalizationClient;
91 return _expressionVariables ?
92 *_expressionVariables : VtGetEmptyDictionary();
106 return _dependencies;
111 return _assetPath == rhs._assetPath &&
112 _dependencies == rhs._dependencies;
118 return !(*
this == rhs);
122 std::string _assetPath;
123 std::vector<std::string> _dependencies;
124 std::string _rawAssetPath;
132 const SdfLayerHandle &layer,
135PXR_NAMESPACE_CLOSE_SCOPE
Class containing information from a processed dependency.
USDUTILS_API const std::string & GetAssetPath() const
Returns the asset value path for the dependency.
USDUTILS_API const VtDictionary & GetExpressionVariables() const
Gets the current set of variable expressions relevant to this dependency.
USDUTILS_API const std::string & GetRawAssetPath() const
Gets the raw asset path that was authored in the layer without any substitutions or evaluations.
USDUTILS_API const std::vector< std::string > & GetDependencies() const
Returns a list of dependencies related to the asset path.
bool operator==(const UsdUtilsDependencyInfo &rhs) const
Equality: Asset path and dependencies are the same.
bool operator!=(const UsdUtilsDependencyInfo &rhs) const
Inequality operator.
A map with string keys and VtValue values.
UsdUtilsDependencyInfo( const SdfLayerHandle &layer, const UsdUtilsDependencyInfo &dependencyInfo) UsdUtilsProcessingFunc
Signature for user supplied processing function.