Loading...
Searching...
No Matches
simpleRegIOobject Class Referenceabstract

Abstract base class for registered object with I/O. Used in debug symbol registration. More...

#include <simpleRegIOobject.H>

Inheritance diagram for simpleRegIOobject:

Public Member Functions

 simpleRegIOobject (void(*fn)(const char *name, simpleRegIOobject *), const char *name)
 Construct from objectregistry inserter and name.
virtual ~simpleRegIOobject ()=default
 Destructor.
virtual void readData (Istream &is)=0
 Read.
virtual void writeData (Ostream &os) const =0
 Write.

Detailed Description

Abstract base class for registered object with I/O. Used in debug symbol registration.

Source files

Definition at line 48 of file simpleRegIOobject.H.

Constructor & Destructor Documentation

◆ simpleRegIOobject()

simpleRegIOobject ( void(* fn )(const char *name, simpleRegIOobject *),
const char * name )
inline

Construct from objectregistry inserter and name.

Definition at line 57 of file simpleRegIOobject.H.

References Foam::name(), and simpleRegIOobject().

Referenced by RegisterDebugSwitch< Type >::RegisterDebugSwitch(), RegisterSwitch< Type >::RegisterSwitch(), and simpleRegIOobject().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ~simpleRegIOobject()

virtual ~simpleRegIOobject ( )
virtualdefault

Destructor.

Member Function Documentation

◆ readData()

virtual void readData ( Istream & is)
pure virtual

Read.

Implemented in RegisterSwitch< Type >.

◆ writeData()

virtual void writeData ( Ostream & os) const
pure virtual

Write.

Implemented in RegisterSwitch< Type >.

References os().

Here is the call graph for this function:

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