HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
diagnostic.h File Reference
+ Include dependency graph for diagnostic.h:

Go to the source code of this file.

Macros

#define HF_VALIDATION_WARN(id,...)
 

Macro Definition Documentation

#define HF_VALIDATION_WARN (   id,
  ... 
)
Value:
TF_WARN("Invalid Hydra prim '%s': %s", \
id.GetText(), \
TfStringPrintf(__VA_ARGS__).c_str())
TF_API std::string TfStringPrintf(const char *fmt,...)
#define TF_WARN

Issues a warning with a message. This differs from just calling TF_WARN in that it tags the warning as actually needing to be a validation error, and a place holder for when we develop a true validation system where we can plumb this information back to the application.

Definition at line 40 of file diagnostic.h.