FEDEM Model Database  R8.0
Source code of the FEDEM model database
Public Member Functions | List of all members
FFlInit Class Reference

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...
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ FFlInit()

FFlInit::FFlInit ( )
inline

The constructor initializes the singelton objects.

◆ ~FFlInit()

FFlInit::~FFlInit ( )
inline

The destructor releases the heap-allocated singelton objects.


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