wiki:InfoClassGuidelines

Version 1 (modified by FrederikHeber, 15 years ago) ( diff )

Initial Guideline for class Info usage

class Info usage guidelines

In general, each (member) function's first line should be

  Info FunctionInfo(__func__);

where a class Info object is instantiated, receives the function name, and is destroyed upon exit of the function (i.e. giving debug messages of begin and end of function.

Exceptions from the above rule:

  • constructors or destructors of small objects that do nothing (except for debugging purpose), i.e. TesselPoint class.
Note: See TracWiki for help on using the wiki.