HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
error.h File Reference
#include "pxr/pxr.h"
#include "pxr/exec/vdf/api.h"
#include "pxr/base/tf/diagnostic.h"
+ Include dependency graph for error.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Vdf_ErrorHelper
 

Macros

#define VDF_FATAL_ERROR   Vdf_ErrorHelper(TF_CALL_CONTEXT).FatalError
 
#define VDF_AXIOM(node, cond)
 

Macro Definition Documentation

#define VDF_AXIOM (   node,
  cond 
)
Value:
do { \
if (ARCH_UNLIKELY(!(cond))) \
Vdf_ErrorHelper(TF_CALL_CONTEXT). \
FatalError(node, "Failed axiom: ' %s '", #cond); \
} while (0)
#define TF_CALL_CONTEXT
Definition: callContext.h:30
#define ARCH_UNLIKELY(x)
Definition: hints.h:30
if(num_boxed_items<=0)
Definition: UT_RTreeImpl.h:697

Axioms that the condition cond is true in the spirit of TF_AXIOM.

In addition to the functionality provided by Tf, VDF_AXIOM also produces a graph of the network around node.

Definition at line 43 of file error.h.

#define VDF_FATAL_ERROR   Vdf_ErrorHelper(TF_CALL_CONTEXT).FatalError

Issues a fatal error to end the program in the spirit of TF_FATAL_ERROR.

In addition to the functionality provided by Tf, VDF_FATAL_ERROR also produces a graph of the network around node.

Definition at line 35 of file error.h.