HDK
|
#include <dynamicKey.h>
Classes | |
struct | HashFunctor |
Public Member Functions | |
TraceDynamicKey (TfToken name) | |
Constructor for TfToken. More... | |
TraceDynamicKey (const std::string &name) | |
Constructor for string. More... | |
TraceDynamicKey (const char *name) | |
Constructor for C string. More... | |
bool | operator== (const TraceDynamicKey &other) const |
Equality operator. More... | |
size_t | Hash () const |
Return a cached hash code for this key. More... | |
const TraceStaticKeyData & | GetData () const |
Returns a reference to TraceStaticKeyData. More... | |
This class stores data used to create dynamic keys which can be referenced in TraceEvent instances.
Is a key is known at compile time, it is preferable to use a static constexpr TraceStaticKeyData instance instead.
Definition at line 42 of file dynamicKey.h.
|
inline |
Constructor for TfToken.
Definition at line 45 of file dynamicKey.h.
|
inline |
Constructor for string.
Definition at line 50 of file dynamicKey.h.
|
inline |
Constructor for C string.
Definition at line 55 of file dynamicKey.h.
|
inline |
Returns a reference to TraceStaticKeyData.
Definition at line 78 of file dynamicKey.h.
|
inline |
Return a cached hash code for this key.
Definition at line 65 of file dynamicKey.h.
|
inline |
Equality operator.
Definition at line 60 of file dynamicKey.h.