25 #ifndef PXR_BASE_TRACE_STATIC_KEY_DATA_H
26 #define PXR_BASE_TRACE_STATIC_KEY_DATA_H
75 , _prettyFuncName(prettyFunc.str)
83 return !(*
this == other);
93 const char* _funcName =
nullptr;
94 const char* _prettyFuncName =
nullptr;
95 const char* _name =
nullptr;
102 #endif // PXR_BASE_TRACE_STATIC_KEY_DATA_H
GLsizei const GLchar *const * string
constexpr StringLiteral(const char(&s)[N])
Constructor from string literals.
constexpr StringLiteral()
Default Constructor.
constexpr TraceStaticKeyData(const StringLiteral name)
Constructor for a name.
GLuint const GLchar * name
TRACE_API bool operator==(const TraceStaticKeyData &other) const
Equality comparison. Inequality is also defined.
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
#define PXR_NAMESPACE_CLOSE_SCOPE
GA_API const UT_StringHolder N
constexpr TraceStaticKeyData(const StringLiteral func, const StringLiteral prettyFunc, const StringLiteral name=StringLiteral())
TRACE_API std::string GetString() const
Returns the string representation of the key data.
bool operator!=(const TraceStaticKeyData &other) const