|
FEDEM Model Database
R8.0
Source code of the FEDEM model database
|
Auxiliary class for initializing and the release of FFlLib singeltons. More...
#include <FFlInit.H>
Public Member Functions | |
| FFlInit () | |
| The constructor initializes the singelton objects. More... | |
| ~FFlInit () | |
| The destructor releases the heap-allocated singelton objects. More... | |
Auxiliary class for initializing and the release of FFlLib singeltons.
This class in mainly used by unit test programs, where we want to ensure there are no heap-memory leaks. Simply define an object of this class in the beginning of the test program to initialize the singeltons. They will then be released when the FFlInit object goes out of scope by its destructor.
|
inline |
The constructor initializes the singelton objects.
|
inline |
The destructor releases the heap-allocated singelton objects.