VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Macros
DtAssert.h File Reference

Go to the source code of this file.

Macros

#define DT_ASSERT_ENABLED   0
 
#define Assert(exp)   static_cast<void>(0)
 
#define ASSERT_PREDICATE(p)   Assert(p);
 
#define ASSERT_RETURN(p)
 
#define ASSERT_RETURN_ZERO(p)
 
#define ASSERT_PREDICATE_RETURN(p)
 
#define ASSERT_PREDICATE_RETURN_ZERO(p)
 
#define ASSERT_PREDICATE_RETURN_DEFAULT_CONSTRUCTOR(V, p)
 
#define ASSERT_PREDICATE_RETURN_FALSE(p)
 
#define ASSERT_PREDICATE_RETURN_TRUE(p)
 
#define ASSERT_RETURN_EMPTY_STRING(p)
 
#define ASSERT_RETURN_FALSE(p)
 
#define ASSERT_RETURN_TRUE(p)
 
#define ASSERT_EQUAL_RETURN_ZERO(x, y)
 
#define ASSERT_RETURN_VALUE(condition, return_value)
 

Detailed Description

assert macros

Macro Definition Documentation

#define DT_ASSERT_ENABLED   0
#define Assert (   exp)    static_cast<void>(0)
#define ASSERT_PREDICATE (   p)    Assert(p);
#define ASSERT_RETURN (   p)
Value:
Assert(p); \
if (p==0)\
return;
#define Assert(exp)
Definition: DtAssert.h:25
#define ASSERT_RETURN_ZERO (   p)
Value:
Assert(p); \
if (p==0)\
return 0;
#define Assert(exp)
Definition: DtAssert.h:25
#define ASSERT_PREDICATE_RETURN (   p)
Value:
Assert((p)); \
if (!(p))\
return;
#define Assert(exp)
Definition: DtAssert.h:25
#define ASSERT_PREDICATE_RETURN_ZERO (   p)
Value:
Assert((p)); \
if (!(p))\
return 0;
#define Assert(exp)
Definition: DtAssert.h:25

Referenced by makVrv::DtMatrix3< T >::operator[](), and makVrv::DtMatrix4< T >::operator[]().

#define ASSERT_PREDICATE_RETURN_DEFAULT_CONSTRUCTOR (   V,
 
)
Value:
Assert((p)); \
if (!(p))\
return V();
#define Assert(exp)
Definition: DtAssert.h:25
#define ASSERT_PREDICATE_RETURN_FALSE (   p)
Value:
Assert((p)); \
if (!(p))\
return false;
#define Assert(exp)
Definition: DtAssert.h:25
#define ASSERT_PREDICATE_RETURN_TRUE (   p)
Value:
Assert((p)); \
if (!(p))\
return true;
#define Assert(exp)
Definition: DtAssert.h:25
#define ASSERT_RETURN_EMPTY_STRING (   p)
Value:
Assert(p); \
if (p==0)\
return "";
#define Assert(exp)
Definition: DtAssert.h:25
#define ASSERT_RETURN_FALSE (   p)
Value:
Assert(p); \
if (p==0)\
return false;
#define Assert(exp)
Definition: DtAssert.h:25
#define ASSERT_RETURN_TRUE (   p)
Value:
Assert(p); \
if (p==0)\
return true;
#define Assert(exp)
Definition: DtAssert.h:25
#define ASSERT_EQUAL_RETURN_ZERO (   x,
 
)
Value:
Assert(x==y);\
if (x!=y) \
return 0;
#define Assert(exp)
Definition: DtAssert.h:25
#define ASSERT_RETURN_VALUE (   condition,
  return_value 
)
Value:
Assert(condition);\
if (!(condition)) return (return_value);
#define Assert(exp)
Definition: DtAssert.h:25

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)