D:/usuarios/rodrigof/svn/tdk/src/peer/components/core/TdkMacros.h File Reference

#include "TdkException.h"

Defines

#define THROW_NULL_OBJECT(object)
#define THROW_OUT_OF_BOUNDARY(index, size, msg)
#define TDK_DELETE(x)

Define Documentation

#define TDK_DELETE (  ) 

Value:

if(x != NULL) \
    delete x; \
    x = NULL

#define THROW_NULL_OBJECT ( object   ) 

Value:

if (object == NULL) \
                throw TdkException(_TDK_DEBUG, TdkException::InvalidValue, \
                        "Object cannot be null.");
Tecgraf - GIS development team

Tdk Framework

@(#) TdkMacros.h

#define THROW_OUT_OF_BOUNDARY ( index,
size,
msg   ) 

Value:

if (index >= size) \
                throw TdkException(_TDK_DEBUG, TdkException::OutOfBoundary, msg);


Generated on Fri Jun 15 16:54:17 2007 for TDK by  doxygen 1.5.2