eLynx SDK v3.0.1
C++ image processing API reference

CoreMacros.h File Reference

#include <elx/core/CoreOS.h>

Go to the source code of this file.


Defines

#define elxSAFE_DELETE(_p_)   { if (NULL != (_p_)) { delete (_p_); (_p_) = NULL; } }
 Macro to safe delete a memory block allocated with new.
#define elxSAFE_DELETE_LIST(_p_)   { if (NULL != (_p_)) { delete [] (_p_); (_p_) = NULL; } }
 Macro to safe delete a memory block allocated with new[].
#define elxSAFE_RELEASE(_p_)   { if (NULL != (_p_)) { (_p_)->Release(); (_p_) = NULL; } }
 Macro to safe release an object.
#define elxASSERT(_ibCondition_)
 Assertion facilities.

Define Documentation

#define elxSAFE_DELETE ( _p_   )     { if (NULL != (_p_)) { delete (_p_); (_p_) = NULL; } }

Macro to safe delete a memory block allocated with new.

Definition at line 25 of file CoreMacros.h.

#define elxSAFE_DELETE_LIST ( _p_   )     { if (NULL != (_p_)) { delete [] (_p_); (_p_) = NULL; } }

Macro to safe delete a memory block allocated with new[].

Definition at line 30 of file CoreMacros.h.

#define elxSAFE_RELEASE ( _p_   )     { if (NULL != (_p_)) { (_p_)->Release(); (_p_) = NULL; } }

Macro to safe release an object.

Definition at line 35 of file CoreMacros.h.

#define elxASSERT ( _ibCondition_   ) 

Assertion facilities.

Definition at line 50 of file CoreMacros.h.


Generated on 14 Apr 2009 by doxygen 1.5.8