Interprete_bloc#
#include <Interprete_bloc.h>
Interprete un bloc d’instructions dans le jeu de donnees.
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:`Interprete\_bloc <class-interprete-bloc>`
[Interprete\_bloc](#class-interprete-bloc)
Detailed description#
Voir Interprete_bloc::interpreter()
Inherits from#
public : Liste_bloc
Inheritance graph#
If the image is too small, right-click and open in new tab
List of Public Methods#
List of Public Static Methods#
List of Protected Methods#
Complete Member Function Documentation#
ajouter#
Objet_U & Interprete_bloc::ajouter(const Nom &nom, DerObjU &object_to_add)
Ajoute l’objet ob a la liste des objets de l’interprete, et nomme l’objet avec nom.
Detailed description
Si l’objet existe deja, exit()
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 & Interprete_bloc::ajouter(const Nom &nom, DerObjU &object_to_add) <interprete-bloc-public-objet-u-ref-interprete-bloc-ajouter-const-nom-ref-nom-derobju-ref-object-to-add>`
[Objet_U & Interprete_bloc::ajouter(const Nom &nom, DerObjU &object_to_add)](#interprete-bloc-public-objet-u-ref-interprete-bloc-ajouter-const-nom-ref-nom-derobju-ref-object-to-add)
duplique#
int Interprete_bloc::duplique() const override
Detailed description
Reimplements:
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 Interprete_bloc::duplique() const override <interprete-bloc-public-int-interprete-bloc-duplique-const-override>`
[int Interprete_bloc::duplique() const override](#interprete-bloc-public-int-interprete-bloc-duplique-const-override)
get_info#
const Type_info * Interprete_bloc::get_info() const override
Donne des informations sur le type de l’ Objet_U .
Detailed description
Reimplements:
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 Type_info * Interprete_bloc::get_info() const override <interprete-bloc-public-const-type-info-ptr-interprete-bloc-get-info-const-override>`
[const Type_info * Interprete_bloc::get_info() const override](#interprete-bloc-public-const-type-info-ptr-interprete-bloc-get-info-const-override)
Interprete_bloc#
Interprete_bloc::Interprete_bloc()
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:`Interprete_bloc::Interprete_bloc() <interprete-bloc-public-interprete-bloc-interprete-bloc>`
[Interprete_bloc::Interprete_bloc()](#interprete-bloc-public-interprete-bloc-interprete-bloc)
interpreter_bloc#
Entree & Interprete_bloc::interpreter_bloc(Entree &is, Bloc_Type bloc_type, int verifier_sans_interpreter)
Interpretation d’un bloc d’instructions prises dans l’entree is.
Detailed description
Si le bloc commence par {, on suppose que l’accolade a deja ete lue. Le bloc se termine soit par }, soit par la fin du fichier, soit par le mot FIN en fonction de bloc_type (voir mon_main.cpp par exemple) Si verifie_sans_interpreter! = 0, on ne cree aucun objet et on ne lance aucun interprete, on se contente de verifier la coherence des accolades (meme nombre de { que de }).
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:`Entree & Interprete_bloc::interpreter_bloc(Entree &is, Bloc_Type bloc_type, int verifier_sans_interpreter) <interprete-bloc-public-entree-ref-interprete-bloc-interpreter-bloc-entree-ref-is-bloc-type-bloc-type-int-verifier-sans-interpreter>`
[Entree & Interprete_bloc::interpreter_bloc(Entree &is, Bloc_Type bloc_type, int verifier_sans_interpreter)](#interprete-bloc-public-entree-ref-interprete-bloc-interpreter-bloc-entree-ref-is-bloc-type-bloc-type-int-verifier-sans-interpreter)
les_noms#
const Noms & Interprete_bloc::les_noms() const
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:`const Noms & Interprete_bloc::les_noms() const <interprete-bloc-public-const-noms-ref-interprete-bloc-les-noms-const>`
[const Noms & Interprete_bloc::les_noms() const](#interprete-bloc-public-const-noms-ref-interprete-bloc-les-noms-const)
objet_local#
Objet_U & Interprete_bloc::objet_local(const Nom &nom)
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 & Interprete_bloc::objet_local(const Nom &nom) <interprete-bloc-public-objet-u-ref-interprete-bloc-objet-local-const-nom-ref-nom>`
[Objet_U & Interprete_bloc::objet_local(const Nom &nom)](#interprete-bloc-public-objet-u-ref-interprete-bloc-objet-local-const-nom-ref-nom)
objet_local_existant#
int Interprete_bloc::objet_local_existant(const Nom &nom)
renvoie un drapeau indiquant si un objet de ce nom est enregistre dans cet inteprete (ne teste pas le pere).
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 Interprete_bloc::objet_local_existant(const Nom &nom) <interprete-bloc-public-int-interprete-bloc-objet-local-existant-const-nom-ref-nom>`
[int Interprete_bloc::objet_local_existant(const Nom &nom)](#interprete-bloc-public-int-interprete-bloc-objet-local-existant-const-nom-ref-nom)
taille_memoire#
unsigned Interprete_bloc::taille_memoire() const override
Detailed description
Reimplements:
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:`unsigned Interprete_bloc::taille_memoire() const override <interprete-bloc-public-unsigned-interprete-bloc-taille-memoire-const-override>`
[unsigned Interprete_bloc::taille_memoire() const override](#interprete-bloc-public-unsigned-interprete-bloc-taille-memoire-const-override)
~Interprete_bloc#
Interprete_bloc::~Interprete_bloc()
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:`Interprete_bloc::~Interprete_bloc() <interprete-bloc-public-interprete-bloc-dtor-interprete-bloc>`
[Interprete_bloc::~Interprete_bloc()](#interprete-bloc-public-interprete-bloc-dtor-interprete-bloc)
cree_instance#
Objet_U * Interprete_bloc::cree_instance()
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:`Objet_U * Interprete_bloc::cree_instance() <interprete-bloc-public-static-objet-u-ptr-interprete-bloc-cree-instance>`
[Objet_U * Interprete_bloc::cree_instance()](#interprete-bloc-public-static-objet-u-ptr-interprete-bloc-cree-instance)
info#
const Type_info * Interprete_bloc::info()
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:`const Type_info * Interprete_bloc::info() <interprete-bloc-public-static-const-type-info-ptr-interprete-bloc-info>`
[const Type_info * Interprete_bloc::info()](#interprete-bloc-public-static-const-type-info-ptr-interprete-bloc-info)
interprete_courant#
Interprete_bloc & Interprete_bloc::interprete_courant()
renvoie l’interprete_bloc en train d’etre lu dans le jeu de donnees.
Detailed description
On change d’interprete courant quand on cree et on detruit un objet de type Interprete_bloc (par exemple quand on entre ou qu’on sort d’un bloc { })
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:`Interprete_bloc & Interprete_bloc::interprete_courant() <interprete-bloc-public-static-interprete-bloc-ref-interprete-bloc-interprete-courant>`
[Interprete_bloc & Interprete_bloc::interprete_courant()](#interprete-bloc-public-static-interprete-bloc-ref-interprete-bloc-interprete-courant)
objet_global#
Objet_U & Interprete_bloc::objet_global(const Nom &nom)
cherche l’objet demande dans l’ Interprete_bloc courant ( Interprete_bloc::interprete_courant() ) et dans tous
Detailed description
ses peres successifs. Si l’objet n’existe pas, exit()
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 & Interprete_bloc::objet_global(const Nom &nom) <interprete-bloc-public-static-objet-u-ref-interprete-bloc-objet-global-const-nom-ref-nom>`
[Objet_U & Interprete_bloc::objet_global(const Nom &nom)](#interprete-bloc-public-static-objet-u-ref-interprete-bloc-objet-global-const-nom-ref-nom)
objet_global_existant#
int Interprete_bloc::objet_global_existant(const Nom &nom)
renvoie un drapeau indiquant si un objet de ce nom existe dans inteprete_courant() ou l’un de ses parents.
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:`int Interprete_bloc::objet_global_existant(const Nom &nom) <interprete-bloc-public-static-int-interprete-bloc-objet-global-existant-const-nom-ref-nom>`
[int Interprete_bloc::objet_global_existant(const Nom &nom)](#interprete-bloc-public-static-int-interprete-bloc-objet-global-existant-const-nom-ref-nom)
self_cast#
const Interprete_bloc & Interprete_bloc::self_cast(const Objet_U &)
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:`const Interprete_bloc & Interprete_bloc::self_cast(const Objet_U &) <interprete-bloc-public-static-const-interprete-bloc-ref-interprete-bloc-self-cast-const-objet-u-ref>`
[const Interprete_bloc & Interprete_bloc::self_cast(const Objet_U &)](#interprete-bloc-public-static-const-interprete-bloc-ref-interprete-bloc-self-cast-const-objet-u-ref)
self_cast#
Interprete_bloc & Interprete_bloc::self_cast(Objet_U &)
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:`Interprete_bloc & Interprete_bloc::self_cast(Objet_U &) <interprete-bloc-public-static-interprete-bloc-ref-interprete-bloc-self-cast-objet-u-ref>`
[Interprete_bloc & Interprete_bloc::self_cast(Objet_U &)](#interprete-bloc-public-static-interprete-bloc-ref-interprete-bloc-self-cast-objet-u-ref)
printOn#
Sortie & Interprete_bloc::printOn(Sortie &x) const override
Ecriture de l’objet sur un flot de sortie Methode a surcharger.
Detailed description
Reimplements:
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:`Sortie & Interprete_bloc::printOn(Sortie &x) const override <interprete-bloc-protected-sortie-ref-interprete-bloc-printon-sortie-ref-x-const-override>`
[Sortie & Interprete_bloc::printOn(Sortie &x) const override](#interprete-bloc-protected-sortie-ref-interprete-bloc-printon-sortie-ref-x-const-override)
readOn#
Entree & Interprete_bloc::readOn(Entree &) override
Lecture d’un Objet_U sur un flot d’entree Methode a surcharger.
Detailed description
Reimplements:
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:`Entree & Interprete_bloc::readOn(Entree &) override <interprete-bloc-protected-entree-ref-interprete-bloc-readon-entree-ref-override>`
[Entree & Interprete_bloc::readOn(Entree &) override](#interprete-bloc-protected-entree-ref-interprete-bloc-readon-entree-ref-override)
Attributes Documentation#
const Type_info Interprete_bloc::info_obj
Noms Interprete_bloc::les_noms_
TRUST_Ref<Interprete_bloc *> Interprete_bloc::pere_
Enums#
Interprete_bloc::Bloc_Type#
Location: trust-code/src/Kernel/Utilitaires/Interprete_bloc.h:35
How to cite in this doc: 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:`Interprete\_bloc::Bloc\_Type <enum-none-interprete-bloc-bloc-type>`
[Interprete\_bloc::Bloc\_Type](#enum-none-interprete-bloc-bloc-type)
ACCOLADE
BLOC_EOF
FIN