cel_debug.h File Reference

Debugging Utilities. More...

#include "cel_printf.h"

Include dependency graph for cel_debug.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Celartem

Classes

struct  Celartem::Debug

Defines

#define CEL_ASSERT(cond)
#define CEL_ANONYMOUS_NS   _Cel_Internal_NS_


Detailed Description

Debugging Utilities.

Definition in file cel_debug.h.


Define Documentation

#define CEL_ANONYMOUS_NS   _Cel_Internal_NS_

With Visual Studio .NET 2003, we cannot see the variable values of which class is defined in anonymous namespace.
This macro provides alternative namespace which is only enabled on debug versions of the libraries. On the release versions, it is redefined as anonymous namespace.

Definition at line 74 of file cel_debug.h.

#define CEL_ASSERT ( cond   ) 

Parameters:
cond A condition that is assumed to be true. This macro breaks the execusion of the program by calling abort if the specified condition is not true. This assertion is striped if _CEL_DEBUG_ is not defined or set to 0. If you don't want to strip these assertion codes, set _CEL_DEBUG_ to 1. The string output is by calling Celartem::cel_printf function.
See also:
Debugging Your Code, Celartem::cel_printf, Celartem::cel_dbgPrintf, _CEL_DEBUG_

Definition at line 28 of file cel_debug.h.


This document is automatically generated using doxygen 1.5.4 at Fri Jun 27 18:22:06 2008.