![]() |
This class holds data necessary to create keys for TraceEvent instances. More...
Classes | |
| class | StringLiteral |
| This is a helper class for the constructors of TraceStaticKeyData. More... | |
Public Member Functions | |
| constexpr | TraceStaticKeyData (const StringLiteral name) |
Constructor for a name. More... | |
| constexpr | TraceStaticKeyData (const StringLiteral func, const StringLiteral prettyFunc, const StringLiteral name=StringLiteral()) |
Constructor for a function (func, prettyFunc) and optional scope name. More... | |
| TRACE_API bool | operator== (const TraceStaticKeyData &other) const |
| Equality comparison. Inequality is also defined. More... | |
| bool | operator!= (const TraceStaticKeyData &other) const |
| TRACE_API std::string | GetString () const |
| Returns the string representation of the key data. More... | |
Friends | |
| class | TraceDynamicKey |
This class holds data necessary to create keys for TraceEvent instances.
This class is meant to be used as constexpr static data.
Definition at line 43 of file staticKeyData.h.
|
inline |
Constructor for a name.
Definition at line 65 of file staticKeyData.h.
|
inline |
Constructor for a function (func, prettyFunc) and optional scope name.
Definition at line 70 of file staticKeyData.h.
| TRACE_API std::string GetString | ( | ) | const |
Returns the string representation of the key data.
| TRACE_API bool operator== | ( | const TraceStaticKeyData & | other | ) | const |
Equality comparison. Inequality is also defined.