debug.h File Reference

debug levels. More...

Go to the source code of this file.

Defines

#define DEBUG_MESSAGE_CONVAR   1
#define DEBUG_MESSAGE_SUB   2
#define DEBUG_NOTIFICATION   4
#define DEBUG_BALANCER   8
#define DEBUG_TERMINATION   16
#define DEBUG_SOCKET   32
#define DEBUG_SEPARATE   64
#define DEBUG_SUBSERVER   128
#define debug(level)   (debugLevel_ & (level))

Variables

int debugLevel_


Detailed Description

debug levels.

Author:
Matthias Elf
The header file debug.h defines some debug level masks. The current debug level is stored in the global variable debugLevel_. It is a bitwise or combination of the debug level masks.

License:
This file is part of ABACUS - A Branch And CUt System Copyright (C) 1995 - 2003 University of Cologne, Germany
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
See also:
http://www.gnu.org/copyleft/gpl.html

Definition in file debug.h.


Define Documentation

#define debug ( level   )     (debugLevel_ & (level))

The macro debug evaluates to true if at least one bit of the requested debug level is set in the global debug level.

Definition at line 50 of file debug.h.

#define DEBUG_BALANCER   8

Definition at line 39 of file debug.h.

#define DEBUG_MESSAGE_CONVAR   1

Definition at line 36 of file debug.h.

#define DEBUG_MESSAGE_SUB   2

Definition at line 37 of file debug.h.

#define DEBUG_NOTIFICATION   4

Definition at line 38 of file debug.h.

#define DEBUG_SEPARATE   64

Definition at line 42 of file debug.h.

#define DEBUG_SOCKET   32

Definition at line 41 of file debug.h.

#define DEBUG_SUBSERVER   128

Definition at line 43 of file debug.h.

#define DEBUG_TERMINATION   16

Definition at line 40 of file debug.h.


Variable Documentation

int debugLevel_


Generated on Tue Aug 14 18:09:54 2007 for ABACUS by  doxygen 1.5.1