RegisterDebugSwitch< Type > Class Template Reference

Define the debug information, lookup as name. More...

Inheritance diagram for RegisterDebugSwitch< Type >:
Collaboration diagram for RegisterDebugSwitch< Type >:

Public Member Functions

 RegisterDebugSwitch (const char *name)
 Construct with given registered name. More...
 
virtual ~RegisterDebugSwitch ()=default
 
virtual void readData (::Foam::Istream &is)
 
virtual void writeData (::Foam::Ostream &os) const
 
 RegisterDebugSwitch (const RegisterDebugSwitch< Type > &)=delete
 
void operator= (const RegisterDebugSwitch< Type > &)=delete
 
- Public Member Functions inherited from simpleRegIOobject
 simpleRegIOobject (void(*fn)(const char *name, simpleRegIOobject *), const char *name)
 Construct from objectregistry inserter and name. More...
 
virtual ~simpleRegIOobject ()=default
 Destructor. More...
 
virtual void readData (Istream &is)=0
 Read. More...
 
virtual void writeData (Ostream &os) const =0
 Write. More...
 

Static Public Attributes

static const RegisterDebugSwitch registerDebugSwitch
 The unique RegisterDebugSwitch object. More...
 

Detailed Description

template<class Type>
class Foam::RegisterDebugSwitch< Type >

Define the debug information, lookup as name.

Definition at line 42 of file defineDebugSwitch.H.

Constructor & Destructor Documentation

◆ RegisterDebugSwitch() [1/2]

RegisterDebugSwitch ( const char *  name)
inlineexplicit

Construct with given registered name.

Definition at line 56 of file defineDebugSwitch.H.

◆ ~RegisterDebugSwitch()

virtual ~RegisterDebugSwitch ( )
virtualdefault

◆ RegisterDebugSwitch() [2/2]

RegisterDebugSwitch ( const RegisterDebugSwitch< Type > &  )
delete

Member Function Documentation

◆ readData()

virtual void readData ( ::Foam::Istream is)
inlinevirtual

Definition at line 63 of file defineDebugSwitch.H.

References Foam::ensightOutput::debug.

◆ writeData()

virtual void writeData ( ::Foam::Ostream os) const
inlinevirtual

Definition at line 68 of file defineDebugSwitch.H.

References Foam::ensightOutput::debug, and os().

Here is the call graph for this function:

◆ operator=()

void operator= ( const RegisterDebugSwitch< Type > &  )
delete

Member Data Documentation

◆ registerDebugSwitch

const RegisterDebugSwitch registerDebugSwitch
static

The unique RegisterDebugSwitch object.

Definition at line 51 of file defineDebugSwitch.H.


The documentation for this class was generated from the following file: