All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
debug.h File Reference

Conditional debugging output class and macros. More...

+ Include dependency graph for debug.h:

Go to the source code of this file.

Classes

class  TfDebug
 Enum-based debugging messages. More...
 

Macros

#define TF_DEBUG_CODES(...)
 Define debugging symbols. More...
 
#define _TF_DEBUG_ENUM_NAME(...)   TF_PP_CAT( _TF_DEBUG_FIRST_CODE(__VA_ARGS__, dummy), __DebugCodes )
 
#define _TF_DEBUG_FIRST_CODE(first,...)   first
 
#define TF_DEBUG_RANGE(enumType, first, last, enabled)
 Define the range for an enum class for debugging symbols. More...
 
#define TF_DEBUG_MSG(enumVal,...)
 Evaluate and print debugging message msg if enumVal is enabled for debugging. More...
 
#define TF_DEBUG(enumVal)
 Evaluate and print debugging message msg if enumVal is enabled for debugging. More...
 
#define TF_INFO(x)
 Evaluate and print diagnostic messages intended for end-users. More...
 
#define TF_DEBUG_TIMED_SCOPE(enumVal,...)
 Print description and time spent in scope upon beginning and exiting it if enumVal is enabled for debugging. More...
 
#define TF_DEBUG_ENVIRONMENT_SYMBOL(VAL, descrip)
 Register an enum symbol for debugging. More...
 

Detailed Description

Conditional debugging output class and macros.

Definition in file debug.h.