struct indent

Used so that you can indent your diagnostic output to the same level as the debugging library. More...

Full namedbg::indent
Definition#include <dbg.h>
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Public Members


Detailed Description

Used so that you can indent your diagnostic output to the same level as the debugging library. This also produces the prefix output.

Examples of use:


     dbg::out(dbg::info) << dbg::indent()
                         << "A Bad Thing happened\n";

     dbg::out(dbg::info) << dbg::indent(dbg::info)
                         << "A Bad Thing happened\n";

See also: prefix, set_prefix, enable_level_prefix, enable_time_prefix

 indent ()

indent

Creates a indent with no specified diagnostic level. No diagnostic level text will be included in the prefix part.

 indent (level lvl)

indent

Parameters:
lvlDiagnostic level to include in prefix

level l

l

 indent ()

indent

inline void  enable (level, bool)

enable

inline void  enable (level, dbg_source, bool)

enable

inline void  enable_all (level, bool)

enable_all

inline null_stream  out (level, dbg_source)

out

inline null_stream  out (level)

out

inline void  attach_ostream (level, std::ostream &)

attach_ostream

inline void  attach_ostream (level, dbg_source, std::ostream &)

attach_ostream

inline void  detach_ostream (level, std::ostream &)

detach_ostream

inline void  detach_ostream (level, dbg_source, std::ostream &)

detach_ostream

inline void  detach_all_ostreams (level)

detach_all_ostreams

inline void  detach_all_ostreams (level, dbg_source)

detach_all_ostreams

inline null_stream  info_out ()

info_out

inline null_stream  warning_out ()

warning_out

inline null_stream  error_out ()

error_out

inline null_stream  fatal_out ()

fatal_out

inline null_stream  trace_out ()

trace_out

inline void  set_prefix (const char *)

set_prefix

inline void  enable_level_prefix (bool)

enable_level_prefix

inline void  enable_time_prefix (bool)

enable_time_prefix

inline void  set_assertion_behaviour (level, assertion_behaviour)

set_assertion_behaviour

inline void  set_assertion_period (dbgclock_t)

set_assertion_period

inline void  assertion (level, dbg_source, void *)

assertion

inline void  assertion (level, void *)

assertion

inline void  assertion (dbg_source, void *)

assertion

inline void  assertion (void *)

assertion

inline void  sentinel (level, dbg_source, void *)

sentinel

inline void  sentinel (level, void *)

sentinel

inline void  sentinel (dbg_source, void *)

sentinel

inline void  sentinel (void *)

sentinel

inline void  unimplemented (level, dbg_source, void *)

unimplemented

inline void  unimplemented (level, void *)

unimplemented

inline void  unimplemented (dbg_source, void *)

unimplemented

inline void  unimplemented (void *)

unimplemented

inline void  check_ptr (level, dbg_source, const void *, void *)

check_ptr

inline void  check_ptr (level, const void *, void *)

check_ptr

inline void  check_ptr (dbg_source, const void *, void *)

check_ptr

inline void  check_ptr (const void *, void *)

check_ptr

inline void  check_bounds (level, void *, int, int, void *)

check_bounds

inline void  check_bounds (level, dbg_source, int, void*, void*)

check_bounds

inline void  check_bounds (level, dbg_source, int, int, void *, void *)

check_bounds

inline void  check_bounds (level, int, void *, void*)

check_bounds

inline void  check_bounds (void *, int, void *, void *)

check_bounds

inline void  check_bounds (int, void *, void *)

check_bounds


Generated by: pg1 on imgpc030 on Tue Sep 16 13:46:16 2003, using kdoc 2.0a54.