TClearable#
#include <TClearable.h>
A small class representing any object with a “clear()” method.
How to reference this class#
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`TClearable <class-tclearable>`
[TClearable](#class-tclearable)
Detailed description#
Used notably to invoke Domaine_dis_cache::clear() properly at the end of TRUST, but without having to refer to the Domaine_dis_cache class in the MAIN of TRUST, since Domaine_dis_cache is not part of TRUST numerical kernel.
Inherited by#
public : Domaine_dis_cache
Inheritance graph#
If the image is too small, right-click and open in new tab
List of Public Methods#
List of Public Static Methods#
Complete Member Function Documentation#
clear#
virtual void TClearable::clear()=0
Detailed description
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`virtual void TClearable::clear()=0 <tclearable-public-virtual-void-tclearable-clear-equal-0>`
[virtual void TClearable::clear()=0](#tclearable-public-virtual-void-tclearable-clear-equal-0)
~TClearable#
virtual TClearable::~TClearable()
Detailed description
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`virtual TClearable::~TClearable() <tclearable-public-virtual-tclearable-dtor-tclearable>`
[virtual TClearable::~TClearable()](#tclearable-public-virtual-tclearable-dtor-tclearable)
Clear_all#
static void TClearable::Clear_all()
Detailed description
Clean all registered objects. Typically invoked from TRUST main.
Referenced By
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`static void TClearable::Clear_all() <tclearable-public-static-static-void-tclearable-clear-all>`
[static void TClearable::Clear_all()](#tclearable-public-static-static-void-tclearable-clear-all)
Register_clearable#
static void TClearable::Register_clearable(TClearable *c)
Detailed description
Register an object to be cleared
Referenced By
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`static void TClearable::Register_clearable(TClearable *c) <tclearable-public-static-static-void-tclearable-register-clearable-tclearable-ptr-c>`
[static void TClearable::Register_clearable(TClearable *c)](#tclearable-public-static-static-void-tclearable-register-clearable-tclearable-ptr-c)
Attributes Documentation#
std::list<TClearable *> TClearable::to_clear_
list of objects to be cleared when exiting TRUST