Loading...
Searching...
No Matches
diagnosticLite.h File Reference

Stripped down version of diagnostic.h that doesn't define std::string. More...

+ Include dependency graph for diagnosticLite.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  TfDiagnosticType : int {
  TF_DIAGNOSTIC_INVALID_TYPE = 0 , TF_DIAGNOSTIC_CODING_ERROR_TYPE , TF_DIAGNOSTIC_FATAL_CODING_ERROR_TYPE , TF_DIAGNOSTIC_RUNTIME_ERROR_TYPE ,
  TF_DIAGNOSTIC_FATAL_ERROR_TYPE , TF_DIAGNOSTIC_NONFATAL_ERROR_TYPE , TF_DIAGNOSTIC_WARNING_TYPE , TF_DIAGNOSTIC_STATUS_TYPE ,
  TF_APPLICATION_EXIT_TYPE
}
 Enum describing various diagnostic conditions. More...
 

Detailed Description

Stripped down version of diagnostic.h that doesn't define std::string.

This file provides the same functionality as diagnostic.h, except that all strings must be passed as plain const char*, and not by std::string, and the macro TF_FUNCTION_NAME() is only defined by diagnostic.h

In particular, this header file does not include the C++ header file < string >, making inclusion of this file a very light-weight addition. Include this file, as opposed to pxr/base/tf/diagnostic.h in header files that need to remain as light-weight as possible.

These macros are safe to use in multiple threads.

Definition in file diagnosticLite.h.

Enumeration Type Documentation

◆ TfDiagnosticType

enum TfDiagnosticType : int

Enum describing various diagnostic conditions.

Definition at line 55 of file diagnosticLite.h.