8 #ifndef PXR_BASE_TRACE_CATEGORY_H 
    9 #define PXR_BASE_TRACE_CATEGORY_H 
   42         const char (&str)[
N]) {
 
   66     std::multimap<TraceCategoryId, std::string> _idToNames;
 
   73 #endif // PXR_BASE_TRACE_CATEGORY_H 
static constexpr std::uint32_t Hash(const char(&str)[N])
Computes a compile time hash of str. 
 
TRACE_API void RegisterCategory(TraceCategoryId id, const std::string &name)
 
TRACE_API std::vector< std::string > GetCategories(TraceCategoryId id) const 
Returns all names associated with the id. 
 
static TRACE_API TraceCategory & GetInstance()
Singleton accessor. 
 
TRACE_API_TEMPLATE_CLASS(TfSingleton< TraceCategory >)
 
GLuint const GLchar * name
 
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
 
#define PXR_NAMESPACE_CLOSE_SCOPE
 
GA_API const UT_StringHolder N
 
uint32_t TraceCategoryId
Categories that a TraceReporter can use to filter events. 
 
static constexpr TraceCategoryId CreateTraceCategoryId(const char(&str)[N])
Computes an id for the given a string literal str.