Elm  2
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
Cleaner Class Reference

#include <elm/util/Cleaner.h>

+ Inheritance diagram for Cleaner:

Public Member Functions

virtual void clean (void)
 
virtual ~Cleaner (void)
 

Detailed Description

Cleaner is an interface shared by object needed some kind of release at some program point (like the end of a program). Actually, Cleaner is used in CleanList to record a list of clean-up that may be invoked together. ELM provides a set of ready-to-use cleaner like:

  • Deletor – invoke delete on the parameter pointer,
  • AutoCleaner – accepts pointer as AutoPtr.

Constructor & Destructor Documentation

◆ ~Cleaner()

virtual ~Cleaner ( void  )
inlinevirtual

Member Function Documentation

◆ clean()

virtual void clean ( void  )
inlinevirtual

Reimplemented in Deletor< T >.


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