Memoire#
#include <Memoire.h>
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#
Memoire & Memoire::Instance()
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#
int Memoire::add(Objet_U *)
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#
void Memoire::compacte()
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#
int Memoire::imprime() const
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#
Objet_U & Memoire::objet_u(int)
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#
const Objet_U & Memoire::objet_u(int) const
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#
Objet_U * Memoire::objet_u_ptr(int)
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#
const Objet_U * Memoire::objet_u_ptr(int) const
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#
int Memoire::rang(const Nom &nom) const
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#
int Memoire::rang(const Nom &type, const Nom &nom) const
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#
int Memoire::suppr(int)
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#
int Memoire::verifie() const
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#
Memoire::Memoire()
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#
Memoire_ptr* Memoire::data
int Memoire::size
Memoire * Memoire::_instance = 0
int Memoire::prems = 0
int Memoire::step = 4096
Friends#
Sortie & operator<<