24 #ifndef PXR_USD_AR_RESOLVED_PATH_H
25 #define PXR_USD_AR_RESOLVED_PATH_H
44 : _resolvedPath(resolvedPath)
50 : _resolvedPath(std::move(resolvedPath))
63 {
return _resolvedPath == rhs._resolvedPath; }
66 {
return _resolvedPath != rhs._resolvedPath; }
69 {
return _resolvedPath < rhs._resolvedPath; }
72 {
return _resolvedPath > rhs._resolvedPath; }
75 {
return _resolvedPath <= rhs._resolvedPath; }
78 {
return _resolvedPath >= rhs._resolvedPath; }
81 {
return _resolvedPath == rhs; }
84 {
return _resolvedPath != rhs; }
87 {
return _resolvedPath < rhs; }
90 {
return _resolvedPath > rhs; }
93 {
return _resolvedPath <= rhs; }
96 {
return _resolvedPath >= rhs; }
103 explicit operator bool()
const {
return !
IsEmpty(); }
107 bool IsEmpty()
const {
return _resolvedPath.empty(); }
123 template <
class HashState>
bool operator>=(const ArResolvedPath &rhs) const
bool operator<=(const std::string &rhs) const
size_t GetHash() const
Return hash value for this object.
GLsizei const GLchar *const * string
ArResolvedPath & operator=(const ArResolvedPath &rhs)=default
bool operator==(const ArResolvedPath &rhs) const
void TfHashAppend(HashState &h, const ArResolvedPath &p)
bool operator!=(const ArResolvedPath &rhs) const
const std::string & GetPathString() const
Return the resolved path held by this object as a string.
bool operator!=(const std::string &rhs) const
bool operator<(const std::string &rhs) const
ArResolvedPath(const std::string &resolvedPath)
Construct an ArResolvedPath holding the given resolvedPath.
ArResolvedPath(std::string &&resolvedPath)
bool operator>=(const std::string &rhs) const
bool operator>(const ArResolvedPath &rhs) const
GLfloat GLfloat GLfloat GLfloat h
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
#define PXR_NAMESPACE_CLOSE_SCOPE
bool operator>(const std::string &rhs) const
bool operator<=(const ArResolvedPath &rhs) const
bool operator<(const ArResolvedPath &rhs) const
bool operator==(const std::string &rhs) const