libcwd: The C++ Debugging Support Library - Reference Manual
Author: Carlo Wood
Description: C++ debugging support library with ostream debug output
Keywords: libcwd, debug output, debug facility, debug channel, object orientation, OO, C++, nested debug output, ostream, memory allocation, debugging, source file and line number

Main Page Reference Manual Namespace List Compound List Namespace Members Compound Members File Members

# libcwd/macro_Libcwd_macros.h File Reference

`#include <libcwd/config.h>`
`#include <cstddef>`

Go to the source code of this file.

## Defines
#define | LibcwDebug(dc_namespace, x)
| General debug macro.
#define | LibcwDout(dc_namespace, debug_obj, cntrl, data)
| General debug output macro.
#define | LibcwDoutFatal(dc_namespace, debug_obj, cntrl, data)
| General fatal debug output macro.

## Detailed Description

Do not include this header file directly, instead include debug.h.

## Define Documentation

#define LibcwDebug | ( | dc_namespace,
|  | x |  | ) |

General debug macro.

This macro allows one to implement a customized "Debug", using a custom debug channel namespace.

See also:
  The Custom debug.h File

#define LibcwDout | ( | dc_namespace,
|  | debug_obj,
|  | cntrl,
|  | data |  | ) |

General debug output macro.

This macro allows one to implement a customized "Dout", using a custom debug object and/or channel namespace.

See also:
  The Custom debug.h File

Referenced by libcwd::list_allocations_on().

#define LibcwDoutFatal | ( | dc_namespace,
|  | debug_obj,
|  | cntrl,
|  | data |  | ) |

General fatal debug output macro.

This macro allows one to implement a customized "DoutFatal", using a custom debug object and/or channel namespace.

See also:
  The Custom debug.h File