ufe 5.5
Universal Front End is a DCC-agnostic component that will allow a DCC to browse and edit data in multiple data models
ufeAssert.h File Reference
#include "common/ufeExport.h"
Include dependency graph for ufeAssert.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Ufe
 

Macros

#define UFE_ENABLE_ASSERTS
 
#define UFE_ASSERT_MSG(EXPR, MSG)    ( (EXPR) ? (void)0 : Ufe::handleAssert(__func__, __FILE__, __LINE__, #EXPR, MSG) )
 
#define UFE_ASSERT_COMPILED(CODE)   CODE
 
#define UFE_ASSERT(EXPR)   UFE_ASSERT_MSG(EXPR, nullptr)
 Similar to UFE_ASSERT_MSG, but without the description of the assertion error. More...
 

Functions

void Ufe::handleAssert (const char *func, const char *filename, int lineno, const char *expr, const char *msg)
 

Macro Definition Documentation

◆ UFE_ASSERT

#define UFE_ASSERT (   EXPR)    UFE_ASSERT_MSG(EXPR, nullptr)

Similar to UFE_ASSERT_MSG, but without the description of the assertion error.

Parameters
EXPRThe expression to assert
See also
UFE_ASSERT_MSG

Definition at line 46 of file ufeAssert.h.

◆ UFE_ASSERT_COMPILED

#define UFE_ASSERT_COMPILED (   CODE)    CODE

Definition at line 37 of file ufeAssert.h.

◆ UFE_ASSERT_MSG

#define UFE_ASSERT_MSG (   EXPR,
  MSG 
)     ( (EXPR) ? (void)0 : Ufe::handleAssert(__func__, __FILE__, __LINE__, #EXPR, MSG) )

Definition at line 34 of file ufeAssert.h.

◆ UFE_ENABLE_ASSERTS

#define UFE_ENABLE_ASSERTS

Definition at line 15 of file ufeAssert.h.