24 #ifndef PXR_USD_SDF_ASSET_PATH_H
25 #define PXR_USD_SDF_ASSET_PATH_H
78 return _assetPath == rhs._assetPath &&
79 _resolvedPath == rhs._resolvedPath;
85 return !(*
this == rhs);
94 return !(rhs < *
this);
106 return !(*
this < rhs);
136 return std::move(_assetPath);
145 return _resolvedPath;
150 return std::move(_resolvedPath);
156 friend inline void swap(SdfAssetPath &lhs, SdfAssetPath &rhs) {
157 lhs._assetPath.swap(rhs._assetPath);
158 lhs._resolvedPath.swap(rhs._resolvedPath);
180 #endif // PXR_USD_SDF_ASSET_PATH_H
SDF_API bool operator<(const SdfAssetPath &rhs) const
Ordering first by asset path, then by resolved path.
friend size_t hash_value(const SdfAssetPath &ap)
Equality, including the resolved path.
GLsizei const GLchar *const * string
friend void swap(SdfAssetPath &lhs, SdfAssetPath &rhs)
SDF_API SdfAssetPath()
Construct an empty asset path.
GLsizei const GLchar *const * path
const std::string & GetResolvedPath() const &
bool operator>(const SdfAssetPath &rhs) const
std::string GetResolvedPath() const &&
Overload for rvalues, move out the asset path.
size_t GetHash() const
Hash function.
const std::string & GetAssetPath() const &
Return the asset path.
std::string GetAssetPath() const &&
Overload for rvalues, move out the asset path.
bool operator<=(const SdfAssetPath &rhs) const
size_t operator()(const SdfAssetPath &ap) const
bool operator==(const SdfAssetPath &rhs) const
Equality, including the resolved path.
static size_t Combine(Args &&...args)
Produce a hash code by combining the hash codes of several objects.
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
SDF_API std::ostream & operator<<(std::ostream &out, const SdfAssetPath &ap)
#define PXR_NAMESPACE_CLOSE_SCOPE
bool operator>=(const SdfAssetPath &rhs) const
bool operator!=(const SdfAssetPath &rhs) const