Material Definition Language API nvidia_logo_transpbg.gif Up
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
neuraylib/assert.h File Reference

Assertions and compile-time assertions. More...

Go to the source code of this file.

Namespaces

 mi
 Common namespace for APIs of NVIDIA Advanced Rendering Center GmbH.
 
 mi::neuraylib
 Namespace for the MDL API.
 

Constant Groups

 mi
 Common namespace for APIs of NVIDIA Advanced Rendering Center GmbH.
 
 mi::neuraylib
 Namespace for the MDL API.
 

Macros

#define mi_neuray_assert(expr)   mi_base_assert(expr)
 If expr evaluates to true this macro shall have no effect. If expr evaluates to false this macro may print a diagnostic message and change the control flow of the program, such as aborting the program or throwing an exception. But it may also have no effect at all, for example if assertions are configured to be disabled. More...
 
#define mi_neuray_assert_msg(expr, msg)   mi_base_assert_msg(expr, msg)
 If expr evaluates to true this macro shall have no effect. If expr evaluates to false this macro may print a diagnostic message and change the control flow of the program, such as aborting the program or throwing an exception. But it may also have no effect at all, for example if assertions are configured to be disabled. More...
 

Detailed Description

Assertions and compile-time assertions.

See MDL API Assertions.