All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
debug.H File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  NamedEnum< Enum, nEnum >
 Initialise the NamedEnum HashTable from the static list of names. More...
 

Namespaces

 Foam::debug
 Namespace for handling debugging switches.
 
 Foam
 Namespace for OpenFOAM.
 

Functions

dictionary & controlDict ()
 The central control dictionary. More...
 
dictionary & debugSwitches ()
 The DebugSwitches sub-dictionary in the central controlDict. More...
 
dictionary & infoSwitches ()
 The InfoSwitches sub-dictionary in the central controlDict. More...
 
dictionary & optimisationSwitches ()
 The OptimisationSwitches sub-dictionary in the central controlDict. More...
 
int debugSwitch (const char *name, const int defaultValue=0)
 Lookup debug switch or add default value. More...
 
int infoSwitch (const char *name, const int defaultValue=0)
 Lookup info switch or add default value. More...
 
int optimisationSwitch (const char *name, const int defaultValue=0)
 Lookup optimisation switch or add default value. More...
 
float floatOptimisationSwitch (const char *name, const float defaultValue=0)
 Lookup optimisation switch or add default value. More...
 
const word wordOptimisationSwitch (const char *name, const word &defaultValue)
 Lookup optimisation switch or add default value. More...
 
template<class Enum , unsigned int nEnum>
Enum namedEnumOptimisationSwitch (const char *name, const NamedEnum< Enum, nEnum > &enumNames, const Enum defaultValue)
 Lookup optimisation switch or add default value. More...
 
dictionary & switchSet (const char *subDictName, dictionary *&subDictPtr)
 Internal function to lookup a sub-dictionary from controlDict. More...
 
void listSwitches ()
 List debug switches. More...
 

Detailed Description

Original source file debug.H

Definition in file debug.H.