25 #ifndef PXR_BASE_TRACE_KEY_H 26 #define PXR_BASE_TRACE_KEY_H 29 #include "pxr/base/trace/staticKeyData.h" 32 PXR_NAMESPACE_OPEN_SCOPE
47 if (_ptr == other._ptr) {
50 return *_ptr == *other._ptr;
61 size_t operator()(
const TraceKey& key)
const {
73 PXR_NAMESPACE_CLOSE_SCOPE
75 #endif // PXR_BASE_TRACE_KEY_H constexpr TraceKey(const TraceStaticKeyData &data)
Constructor.
bool operator==(const TraceKey &other) const
Equality comparison.
A Hash functor which may be used to store keys in a TfHashMap.
This class owns lists of TraceEvent instances per thread, and allows read access to them.
size_t Hash() const
Hash function.
This class holds data necessary to create keys for TraceEvent instances.
A wrapper around a TraceStaticKeyData pointer that is stored in TraceEvent instances.