Loading...
Searching...
No Matches
TraceKey Class Reference

A wrapper around a TraceStaticKeyData pointer that is stored in TraceEvent instances. More...

#include <key.h>

Classes

struct  HashFunctor
 A Hash functor which may be used to store keys in a TfHashMap. More...
 

Public Member Functions

constexpr TraceKey (const TraceStaticKeyData &data)
 Constructor.
 
bool operator== (const TraceKey &other) const
 Equality comparison.
 
size_t Hash () const
 Hash function.
 

Friends

class TraceCollection
 

Detailed Description

A wrapper around a TraceStaticKeyData pointer that is stored in TraceEvent instances.

Definition at line 40 of file key.h.

Constructor & Destructor Documentation

◆ TraceKey()

constexpr TraceKey ( const TraceStaticKeyData data)
inlineconstexpr

Constructor.

Definition at line 43 of file key.h.

Member Function Documentation

◆ Hash()

size_t Hash ( ) const
inline

Hash function.

Definition at line 55 of file key.h.

◆ operator==()

bool operator== ( const TraceKey other) const
inline

Equality comparison.

Definition at line 46 of file key.h.

Friends And Related Function Documentation

◆ TraceCollection

friend class TraceCollection
friend

Definition at line 70 of file key.h.


The documentation for this class was generated from the following file: