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

#include <staticKeyData.h>

Classes

class  StringLiteral
 

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())
 
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
 

Detailed Description

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.

Constructor & Destructor Documentation

constexpr TraceStaticKeyData::TraceStaticKeyData ( const StringLiteral  name)
inline

Constructor for a name.

Definition at line 65 of file staticKeyData.h.

constexpr TraceStaticKeyData::TraceStaticKeyData ( const StringLiteral  func,
const StringLiteral  prettyFunc,
const StringLiteral  name = StringLiteral() 
)
inline

Constructor for a function (func, prettyFunc) and optional scope name.

Definition at line 70 of file staticKeyData.h.

Member Function Documentation

TRACE_API std::string TraceStaticKeyData::GetString ( ) const

Returns the string representation of the key data.

bool TraceStaticKeyData::operator!= ( const TraceStaticKeyData other) const
inline

Definition at line 82 of file staticKeyData.h.

TRACE_API bool TraceStaticKeyData::operator== ( const TraceStaticKeyData other) const

Equality comparison. Inequality is also defined.

Friends And Related Function Documentation

friend class TraceDynamicKey
friend

Definition at line 97 of file staticKeyData.h.


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