VR-Link API Documentation for HLA 1516
Classes | Defines

An implementation of DtAssert, and helper classes. More...

Go to the source code of this file.

Classes

class  DtAssert
 DtAssert (the class) helps implement DtAssert (the MACRO) by storing static member variables. More...

Defines

#define __DTFUNC__   "-Unknown Function-"
 Note: FUNCTION macro is not defined in Microsoft VC++ 6.0.
#define DtAssert(a)
 DtAssert is a more flexible version of std::assert.

Detailed Description

An implementation of DtAssert, and helper classes.


Define Documentation

#define __DTFUNC__   "-Unknown Function-"

Note: FUNCTION macro is not defined in Microsoft VC++ 6.0.

#define DtAssert (   a)
Value:

DtAssert is a more flexible version of std::assert.

The macro version of DtAssert should be used by anyone wishing a better version of std::assert. DtAssert can be turned on and off in production code. This has the same name as DtAssert (the class) which is OK as long as the macro definition appears after the class and has a different CTOR signature.

It is not safe to use DtAssert in global objects initialized before main() is called as some static variables used by DtAssert may not be initialized. If you want to use this in a safe way you can set DtAssert::theAssertFunction first, via DtAssert::warn(), DtAssert::fatal() or DtAssert::ignore()


Document ID: Generated on Mon May 14 08:06:18 EDT 2012 from SVN revision 114750
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)