Memoire#

#include <Memoire.h>
Brief description

La memoire de Trio - U.

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:`Memoire <class-memoire>`
[Memoire](#class-memoire)

Detailed description#

List of Public Static Methods#

List of Public Methods#

List of Protected Methods#

Complete Member Function Documentation#

Instance#

Definition
Memoire & Memoire::Instance()
Brief description

Retourne un pointeur sur l’instance de la memoire Cree un nouvel objet memoire si aucune instance n’a deja ete creee.

Detailed description
References
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:`Memoire & Memoire::Instance() <memoire-public-static-memoire-ref-memoire-instance>`
[Memoire & Memoire::Instance()](#memoire-public-static-memoire-ref-memoire-instance)

add#

Definition
int Memoire::add(Objet_U *)
Brief description

Ajoute un Objet_U dans la Memoire de TRUST.

Detailed description
References
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:`int Memoire::add(Objet_U *) <memoire-public-int-memoire-add-objet-u-ptr>`
[int Memoire::add(Objet_U *)](#memoire-public-int-memoire-add-objet-u-ptr)

compacte#

Definition
void Memoire::compacte()
Brief description

Compacte la memoire Ce compactage est effectue automatiquement lorsqu’il devient necessaire.

Detailed description
References
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:`void Memoire::compacte() <memoire-public-void-memoire-compacte>`
[void Memoire::compacte()](#memoire-public-void-memoire-compacte)

imprime#

Definition
int Memoire::imprime() const
Brief description

Imprime un etat sur la memoire sur la sortie des erreurs.

Detailed description
References
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:`int Memoire::imprime() const <memoire-public-int-memoire-imprime-const>`
[int Memoire::imprime() const](#memoire-public-int-memoire-imprime-const)

objet_u#

Definition
Objet_U & Memoire::objet_u(int)
Brief description

Retoune une reference sur l’ Objet_U de rang num dans la memoire.

Detailed description
References
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:`Objet_U & Memoire::objet_u(int) <memoire-public-objet-u-ref-memoire-objet-u-int>`
[Objet_U & Memoire::objet_u(int)](#memoire-public-objet-u-ref-memoire-objet-u-int)

objet_u#

Definition
const Objet_U & Memoire::objet_u(int) const
Brief description

Retoune une reference constante sur l’ Objet_U de rang num dans la memoire.

Detailed description
References
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:`const Objet_U & Memoire::objet_u(int) const <memoire-public-const-objet-u-ref-memoire-objet-u-int-const>`
[const Objet_U & Memoire::objet_u(int) const](#memoire-public-const-objet-u-ref-memoire-objet-u-int-const)

objet_u_ptr#

Definition
Objet_U * Memoire::objet_u_ptr(int)
Brief description

Retoune un pointeur sur l’ Objet_U de rang num dans la memoire.

Detailed description
References
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:`Objet_U * Memoire::objet_u_ptr(int) <memoire-public-objet-u-ptr-memoire-objet-u-ptr-int>`
[Objet_U * Memoire::objet_u_ptr(int)](#memoire-public-objet-u-ptr-memoire-objet-u-ptr-int)

objet_u_ptr#

Definition
const Objet_U * Memoire::objet_u_ptr(int) const
Brief description

Retoune un pointeur constant sur l’ Objet_U de rang num dans la memoire.

Detailed description
References
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:`const Objet_U * Memoire::objet_u_ptr(int) const <memoire-public-const-objet-u-ptr-memoire-objet-u-ptr-int-const>`
[const Objet_U * Memoire::objet_u_ptr(int) const](#memoire-public-const-objet-u-ptr-memoire-objet-u-ptr-int-const)

rang#

Definition
int Memoire::rang(const Nom &nom) const
Brief description

Retourne le rang dans la memoire de l’objet de nom indique.

Detailed description
References
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:`int Memoire::rang(const Nom &nom) const <memoire-public-int-memoire-rang-const-nom-ref-nom-const>`
[int Memoire::rang(const Nom &nom) const](#memoire-public-int-memoire-rang-const-nom-ref-nom-const)

rang#

Definition
int Memoire::rang(const Nom &type, const Nom &nom) const
Brief description

Retourne le rang dans la memoire de l’objet de type et de nom indiques.

Detailed description
References
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:`int Memoire::rang(const Nom &type, const Nom &nom) const <memoire-public-int-memoire-rang-const-nom-ref-type-const-nom-ref-nom-const>`
[int Memoire::rang(const Nom &type, const Nom &nom) const](#memoire-public-int-memoire-rang-const-nom-ref-type-const-nom-ref-nom-const)

suppr#

Definition
int Memoire::suppr(int)
Brief description

Suppression de la memoire de l’ Objet_U de numero num L’ Objet_U n’est pas supprime, seul son pointeur dans la memoire l’est.

Detailed description
References
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:`int Memoire::suppr(int) <memoire-public-int-memoire-suppr-int>`
[int Memoire::suppr(int)](#memoire-public-int-memoire-suppr-int)

verifie#

Definition
int Memoire::verifie() const
Brief description

Verifie le contenu de toutes les cases de la memoire.

Detailed description
References
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:`int Memoire::verifie() const <memoire-public-int-memoire-verifie-const>`
[int Memoire::verifie() const](#memoire-public-int-memoire-verifie-const)

Memoire#

Definition
Memoire::Memoire()
Brief description

Constructeur Initialize une zone de travail pour les Objet_U , les “double” et les “int”.

Detailed description
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:`Memoire::Memoire() <memoire-protected-memoire-memoire>`
[Memoire::Memoire()](#memoire-protected-memoire-memoire)

Attributes Documentation#

data (private)
Memoire_ptr* Memoire::data
size (private)
int Memoire::size
_instance (private)
Memoire * Memoire::_instance = 0
prems (private)
int Memoire::prems = 0
step (private)
int Memoire::step = 4096

Friends#

  • Sortie & operator<<