All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TraceKey Class Reference

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

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. More...
 
bool operator== (const TraceKey &other) const
 Equality comparison. More...
 
size_t Hash () const
 Hash function. More...
 

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

constexpr TraceKey ( const TraceStaticKeyData data)
inline

Constructor.

Definition at line 43 of file key.h.

Member Function Documentation

size_t Hash ( ) const
inline

Hash function.

Definition at line 55 of file key.h.

bool operator== ( const TraceKey other) const
inline

Equality comparison.

Definition at line 46 of file key.h.


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