00001 // Debugging definitions for the COCONUT API -*- C++ -*- 00002 00003 // $Id: api_debug.h 347 2008-02-06 15:20:01Z schilly $ 00004 // Copyright (C) 2005 Hermann Schichl 00005 // 00006 // This file is part of the COCONUT API. This library 00007 // is free software; you can redistribute it and/or modify it under the 00008 // terms of the Library GNU General Public License as published by the 00009 // Free Software Foundation; either version 2, or (at your option) 00010 // any later version. 00011 00012 // This library is distributed in the hope that it will be useful, 00013 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00015 // Library GNU General Public License for more details. 00016 00017 // As a special exception, you may use this file as part of a free software 00018 // library without restriction. Specifically, if other files instantiate 00019 // templates or use macros or inline functions from this file, or you compile 00020 // this file and link it with other files to produce an executable, this 00021 // file does not by itself cause the resulting executable to be covered by 00022 // the Library GNU General Public License. This exception does not however 00023 // invalidate any other reasons why the executable file might be covered by 00024 // the Library GNU General Public License. 00025 00028 #ifndef __API_DEBUG_H__ 00029 #define __API_DEBUG_H__ 00030 00031 #include <cmath> 00032 #include <cstdlib> 00033 00034 namespace coco { 00035 00036 #ifndef DEBUG_CERTIFICATE 00037 #define DEBUG_CERTIFICATE 0 00038 #endif 00039 00040 #ifndef DEBUG_DELTA 00041 #define DEBUG_DELTA 0 00042 #endif 00043 00044 #ifndef __DEBUG_DAG_DELTA 00045 #define __DEBUG_DAG_DELTA 0 00046 #endif 00047 00048 #ifndef DEBUG_RANDOM 00049 #define DEBUG_RANDOM 0 00050 #endif 00051 00052 #ifndef DEBUG_EXPRESSIONS 00053 #define DEBUG_EXPRESSIONS 0 00054 #endif 00055 00056 #ifndef DEBUG_SEARCH_NODE 00057 #define DEBUG_SEARCH_NODE 0 00058 #endif 00059 00060 #ifndef MODEL_INLINE_DEBUG 00061 #define MODEL_INLINE_DEBUG 0 00062 #endif 00063 00064 #ifndef MODEL_INLINE_DEBUG_SIMPLIFY 00065 #define MODEL_INLINE_DEBUG_SIMPLIFY 0 00066 #endif 00067 00068 } // namespace coco 00069 00070 #endif /* __API_DEBUG_H__ */