All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
defineDebugSwitch.H File Reference

Macro definitions for debug switches. More...

Include dependency graph for defineDebugSwitch.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define defineDebugSwitchWithName(Type, Name, DebugSwitch)   int Type::debug(::Foam::debug::debugSwitch(Name, DebugSwitch))
 Define the debug information, lookup as Name. More...
 
#define defineDebugSwitch(Type, DebugSwitch)   defineDebugSwitchWithName(Type, Type::typeName_(), DebugSwitch);
 Define the debug information. More...
 
#define defineTemplateDebugSwitchWithName(Type, Name, DebugSwitch)
 Define the debug information for templates, lookup as Name. More...
 
#define defineTemplate2DebugSwitchWithName(Type, Name, DebugSwitch)
 Define the debug information for templates sub-classes, lookup as Name. More...
 
#define defineTemplateDebugSwitch(Type, DebugSwitch)   defineTemplateDebugSwitchWithName(Type, #Type, DebugSwitch)
 Define the debug information for templates. More...
 
#define defineNamedTemplateDebugSwitch(Type, DebugSwitch)   defineTemplateDebugSwitchWithName(Type, Type::typeName_(), DebugSwitch)
 Define the debug information directly for templates. More...
 
#define defineTemplate2DebugSwitch(Type, DebugSwitch)   defineTemplate2DebugSwitchWithName(Type, #Type, DebugSwitch)
 Define the debug information for templates. More...
 
#define defineNamedTemplate2DebugSwitch(Type, DebugSwitch)   defineTemplate2DebugSwitchWithName(Type, Type::typeName_(), DebugSwitch)
 Define the debug information directly for templates. More...
 

Detailed Description

Macro definitions for debug switches.

Original source file defineDebugSwitch.H

Definition in file defineDebugSwitch.H.

Macro Definition Documentation

◆ defineDebugSwitchWithName

#define defineDebugSwitchWithName (   Type,
  Name,
  DebugSwitch 
)    int Type::debug(::Foam::debug::debugSwitch(Name, DebugSwitch))

Define the debug information, lookup as Name.

Definition at line 38 of file defineDebugSwitch.H.

◆ defineDebugSwitch

#define defineDebugSwitch (   Type,
  DebugSwitch 
)    defineDebugSwitchWithName(Type, Type::typeName_(), DebugSwitch);

Define the debug information.

Definition at line 42 of file defineDebugSwitch.H.

◆ defineTemplateDebugSwitchWithName

#define defineTemplateDebugSwitchWithName (   Type,
  Name,
  DebugSwitch 
)
Value:
defineDebugSwitchWithName(Type, Name, DebugSwitch);
#define defineDebugSwitchWithName(Type, Name, DebugSwitch)
Define the debug information, lookup as Name.

Define the debug information for templates, lookup as Name.

Definition at line 46 of file defineDebugSwitch.H.

◆ defineTemplate2DebugSwitchWithName

#define defineTemplate2DebugSwitchWithName (   Type,
  Name,
  DebugSwitch 
)
Value:
defineDebugSwitchWithName(Type, Name, DebugSwitch);
#define defineDebugSwitchWithName(Type, Name, DebugSwitch)
Define the debug information, lookup as Name.

Define the debug information for templates sub-classes, lookup as Name.

Definition at line 51 of file defineDebugSwitch.H.

◆ defineTemplateDebugSwitch

#define defineTemplateDebugSwitch (   Type,
  DebugSwitch 
)    defineTemplateDebugSwitchWithName(Type, #Type, DebugSwitch)

Define the debug information for templates.

Useful with typedefs

Definition at line 57 of file defineDebugSwitch.H.

◆ defineNamedTemplateDebugSwitch

#define defineNamedTemplateDebugSwitch (   Type,
  DebugSwitch 
)    defineTemplateDebugSwitchWithName(Type, Type::typeName_(), DebugSwitch)

Define the debug information directly for templates.

Definition at line 61 of file defineDebugSwitch.H.

◆ defineTemplate2DebugSwitch

#define defineTemplate2DebugSwitch (   Type,
  DebugSwitch 
)    defineTemplate2DebugSwitchWithName(Type, #Type, DebugSwitch)

Define the debug information for templates.

Useful with typedefs

Definition at line 66 of file defineDebugSwitch.H.

◆ defineNamedTemplate2DebugSwitch

#define defineNamedTemplate2DebugSwitch (   Type,
  DebugSwitch 
)    defineTemplate2DebugSwitchWithName(Type, Type::typeName_(), DebugSwitch)

Define the debug information directly for templates.

Definition at line 70 of file defineDebugSwitch.H.