Kanzi 4.0.0-beta2
assert_detail.hpp File Reference
#include <kanzi/core/log/log.hpp>
#include <boost/preprocessor/control/if.hpp>
#include <boost/preprocessor/tuple/enum.hpp>

Namespaces

namespace  kanzi
 

Macros

#define KZ_ASSERT_IF_KANZI_DEBUG_ENABLED_INTERNAL(assertionMacro)
 Used internally.
 
#define KZ_ASSERT_INTERNAL(expression)
 Used internally. See kzAssert().
 
#define KZ_ASSERT_MESSAGE_INTERNAL(expression, message)
 Used internally. See kzAssertMessage().
 
#define KZ_ASSERT_UNREACHABLE_INTERNAL()
 Used internally. See kzAssertUnreachable().
 
#define KZ_ASSERT_UNREACHABLE_MESSAGE_INTERNAL(message)
 Used internally. See kzAssertUnreachableMessage().
 
#define KZ_LOG_CATEGORY_ASSERTION
 Assertion Log Category.
 
#define KZ_LOG_CATEGORY_ASSERTION_ENABLED
 
#define KZ_LOG_IF_ASSERT_CATEGORY_ENABLED_INTERNAL(logCall)
 Used internally. Enables kzAssert logging when assertion log category is enabled.
 

Macro Definition Documentation

◆ KZ_ASSERT_IF_KANZI_DEBUG_ENABLED_INTERNAL

#define KZ_ASSERT_IF_KANZI_DEBUG_ENABLED_INTERNAL ( assertionMacro)

Used internally.

Enables specified macro invocation if KANZI_DEBUG is defined.

Parameters
assertionMacromacro to be called when KANZI_DEBUG is defined.

◆ KZ_LOG_CATEGORY_ASSERTION_ENABLED

#define KZ_LOG_CATEGORY_ASSERTION_ENABLED

◆ KZ_LOG_CATEGORY_ASSERTION

#define KZ_LOG_CATEGORY_ASSERTION

Assertion Log Category.

This should be used to log assertion messages only.

◆ KZ_LOG_IF_ASSERT_CATEGORY_ENABLED_INTERNAL

#define KZ_LOG_IF_ASSERT_CATEGORY_ENABLED_INTERNAL ( logCall)

Used internally. Enables kzAssert logging when assertion log category is enabled.

◆ KZ_ASSERT_INTERNAL

#define KZ_ASSERT_INTERNAL ( expression)

Used internally. See kzAssert().

◆ KZ_ASSERT_MESSAGE_INTERNAL

#define KZ_ASSERT_MESSAGE_INTERNAL ( expression,
message )

Used internally. See kzAssertMessage().

◆ KZ_ASSERT_UNREACHABLE_INTERNAL

#define KZ_ASSERT_UNREACHABLE_INTERNAL ( )

Used internally. See kzAssertUnreachable().

◆ KZ_ASSERT_UNREACHABLE_MESSAGE_INTERNAL

#define KZ_ASSERT_UNREACHABLE_MESSAGE_INTERNAL ( message)

Used internally. See kzAssertUnreachableMessage().