VR-Forces 5.0.2 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)
 

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)==false)\
return;
#define Assert(exp)
Definition: DtAssert.h:25
#define ASSERT_PREDICATE_RETURN_ZERO (   p)
Value:
Assert((p)); \
if ((p)==false)\
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)==false)\
return V();
#define Assert(exp)
Definition: DtAssert.h:25
#define ASSERT_PREDICATE_RETURN_FALSE (   p)
Value:
Assert((p)); \
if ((p)==false)\
return false;
#define Assert(exp)
Definition: DtAssert.h:25
#define ASSERT_PREDICATE_RETURN_TRUE (   p)
Value:
Assert((p)); \
if ((p)==false)\
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

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)