24 #ifndef PXR_USD_PCP_INSTANCE_KEY_H
25 #define PXR_USD_PCP_INSTANCE_KEY_H
65 bool operator==(
const PcpInstanceKey& rhs)
const;
67 bool operator!=(
const PcpInstanceKey& rhs)
const;
70 template <
typename HashState>
86 inline size_t operator()(
const PcpInstanceKey& key)
const
103 : _arcType(node.GetArcType())
104 , _sourceSite(node.GetSite())
105 , _timeOffset(node.GetMapToRoot().GetTimeOffset())
111 return _arcType == rhs._arcType &&
112 _sourceSite == rhs._sourceSite &&
113 _timeOffset == rhs._timeOffset;
116 template <
typename HashState>
118 h.Append(arc._arcType);
119 h.Append(arc._sourceSite);
120 h.Append(arc._timeOffset);
127 std::vector<_Arc> _arcs;
129 typedef std::pair<std::string, std::string> _VariantSelection;
130 std::vector<_VariantSelection> _variantSelection;
137 #endif // PXR_USD_PCP_INSTANCE_KEY_H
PCP_API std::string GetString() const
PCP_API bool operator==(const PcpInstanceKey &rhs) const
Comparison operators.
GLsizei const GLchar *const * string
size_t operator()(const PcpInstanceKey &key) const
friend size_t hash_value(const PcpInstanceKey &key)
Returns hash value for this instance key.
friend void TfHashAppend(HashState &h, const PcpInstanceKey &key)
Appends hash value for this instance key.
GLfloat GLfloat GLfloat GLfloat h
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
#define PXR_NAMESPACE_CLOSE_SCOPE
GA_API const UT_StringHolder arc
PCP_API bool operator!=(const PcpInstanceKey &rhs) const