COIN-OR::LEMON - Graph Library

Changeset 680:17415189e42a in lemon-0.x for src/work/klao/debug.h


Ignore:
Timestamp:
06/14/04 11:21:06 (16 years ago)
Author:
Alpar Juttner
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@928
Message:

Improved (but still not satisfactory) doc.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/work/klao/debug.h

    r619 r680  
    99namespace hugo {
    1010
     11  //! Debug mode for testing/debugging
     12
     13  //! Use this debug mode if you want exhaustive range and consistency checks.
     14  //! It also produces verbose debug messages.
    1115  struct DebugOn {
    1216    //! Example: check whether the edges added to a path are adjacent
     
    2327  };
    2428
     29  //! Debug mode for turning off debug aids.
     30
     31  //! This debud mode switches off all range and consistency checks,
     32  //! as well as the debug messages.
     33  //!
    2534  struct DebugOff {
    2635    static const bool consistensy_check = false;
     
    3140
    3241#ifdef DEBUG
     42  //! The default debug mode.
     43
     44  //! The default debug mode.
     45  //!
    3346  typedef DebugOn DefaultDebugMode;
    3447#else
     48  //! The default debug mode.
     49
     50  //! The default debug mode.
     51  //!
    3552  typedef DebugOff DefaultDebugMode;
    3653#endif
Note: See TracChangeset for help on using the changeset viewer.