Parser_U#
#include <Parser_U.h>
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:`Parser\_U <class-parser-u>`
[Parser\_U](#class-parser-u)
Detailed description#
Elle permet lors de son utilisation de beneficier de la gestion de la memoire propre aux Objet_U a la difference de la classe Math/Parser
Inherits from#
public : Objet_U
Inheritance graph#
If the image is too small, right-click and open in new tab
List of Public Static Methods#
List of Public Methods#
List of Protected Methods#
Complete Member Function Documentation#
cree_instance#
Objet_U * Parser_U::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 * Parser_U::cree_instance() <parser-u-public-static-objet-u-ptr-parser-u-cree-instance>`
[Objet_U * Parser_U::cree_instance()](#parser-u-public-static-objet-u-ptr-parser-u-cree-instance)
info#
const Type_info * Parser_U::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 * Parser_U::info() <parser-u-public-static-const-type-info-ptr-parser-u-info>`
[const Type_info * Parser_U::info()](#parser-u-public-static-const-type-info-ptr-parser-u-info)
self_cast#
const Parser_U & Parser_U::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 Parser_U & Parser_U::self_cast(const Objet_U &) <parser-u-public-static-const-parser-u-ref-parser-u-self-cast-const-objet-u-ref>`
[const Parser_U & Parser_U::self_cast(const Objet_U &)](#parser-u-public-static-const-parser-u-ref-parser-u-self-cast-const-objet-u-ref)
self_cast#
Parser_U & Parser_U::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:`Parser_U & Parser_U::self_cast(Objet_U &) <parser-u-public-static-parser-u-ref-parser-u-self-cast-objet-u-ref>`
[Parser_U & Parser_U::self_cast(Objet_U &)](#parser-u-public-static-parser-u-ref-parser-u-self-cast-objet-u-ref)
addCst#
void Parser_U::addCst(const Constante &cst)
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:`void Parser_U::addCst(const Constante &cst) <parser-u-public-void-parser-u-addcst-const-constante-ref-cst>`
[void Parser_U::addCst(const Constante &cst)](#parser-u-public-void-parser-u-addcst-const-constante-ref-cst)
addVar#
void Parser_U::addVar(const char *v)
Detailed description
permet d’ajouter une variable en specifiant sa chaine representative (par ex. : x, y1 etc…)
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 Parser_U::addVar(const char *v) <parser-u-public-void-parser-u-addvar-const-char-ptr-v>`
[void Parser_U::addVar(const char *v)](#parser-u-public-void-parser-u-addvar-const-char-ptr-v)
duplique#
int Parser_U::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 Parser_U::duplique() const override <parser-u-public-int-parser-u-duplique-const-override>`
[int Parser_U::duplique() const override](#parser-u-public-int-parser-u-duplique-const-override)
eval#
double Parser_U::eval()
Detailed description
Sert a evaluer l’expression mathematique correspondante a la chaine de caracteres. Poru cela il faut avant toute chose construire l’arbre par la methode parseString() .
References
Referenced By
Echange_contact_Correlation_VDF::calculer_coefficient_echange
Echange_contact_Correlation_VEF::calculer_coefficient_echange
Modele_turbulence_scal_Prandtl::calculer_diffusivite_turbulente
Perte_Charge_Directionnelle_PolyMAC_Face::coeffs_perte_charge
Terme_Puissance_Thermique_Echange_Impose_Elem_base::pid_process
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:`double Parser_U::eval() <parser-u-public-double-parser-u-eval>`
[double Parser_U::eval()](#parser-u-public-double-parser-u-eval)
get_info#
const Type_info * Parser_U::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 * Parser_U::get_info() const override <parser-u-public-const-type-info-ptr-parser-u-get-info-const-override>`
[const Type_info * Parser_U::get_info() const override](#parser-u-public-const-type-info-ptr-parser-u-get-info-const-override)
getmaxVar#
int Parser_U::getmaxVar()
Detailed description
permet d’obtenir le nombre de variables fixees permet d’obtenir le nombre de variable fixees
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 Parser_U::getmaxVar() <parser-u-public-int-parser-u-getmaxvar>`
[int Parser_U::getmaxVar()](#parser-u-public-int-parser-u-getmaxvar)
getNbVar#
int Parser_U::getNbVar()
Detailed description
permet d’obtenir le nombre de variables enregistrees
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 Parser_U::getNbVar() <parser-u-public-int-parser-u-getnbvar>`
[int Parser_U::getNbVar()](#parser-u-public-int-parser-u-getnbvar)
getParser#
Parser & Parser_U::getParser()
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:`Parser & Parser_U::getParser() <parser-u-public-parser-ref-parser-u-getparser>`
[Parser & Parser_U::getParser()](#parser-u-public-parser-ref-parser-u-getparser)
getString#
std::string & Parser_U::getString()
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:`std::string & Parser_U::getString() <parser-u-public-std-string-ref-parser-u-getstring>`
[std::string & Parser_U::getString()](#parser-u-public-std-string-ref-parser-u-getstring)
operator =#
const Parser_U & Parser_U::operator=(const Parser_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 Parser_U & Parser_U::operator=(const Parser_U &) <parser-u-public-const-parser-u-ref-parser-u-operator-equal-const-parser-u-ref>`
[const Parser_U & Parser_U::operator=(const Parser_U &)](#parser-u-public-const-parser-u-ref-parser-u-operator-equal-const-parser-u-ref)
Parser_U#
Parser_U::Parser_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:`Parser_U::Parser_U() <parser-u-public-parser-u-parser-u>`
[Parser_U::Parser_U()](#parser-u-public-parser-u-parser-u)
Parser_U#
Parser_U::Parser_U(const Parser_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:`Parser_U::Parser_U(const Parser_U &) <parser-u-public-parser-u-parser-u-const-parser-u-ref>`
[Parser_U::Parser_U(const Parser_U &)](#parser-u-public-parser-u-parser-u-const-parser-u-ref)
parseString#
void Parser_U::parseString()
Detailed description
Construit l’arbre correspondant a la chaine de caracteres. Cet arbre doit etre construit une seule fois et la chaine de caractere est evaluee en parcourant cet arbre par la methode eval() autant de fois qu’on le souhaite.
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 Parser_U::parseString() <parser-u-public-void-parser-u-parsestring>`
[void Parser_U::parseString()](#parser-u-public-void-parser-u-parsestring)
setImpulsion#
void Parser_U::setImpulsion(double tinit, double periode)
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:`void Parser_U::setImpulsion(double tinit, double periode) <parser-u-public-void-parser-u-setimpulsion-double-tinit-double-periode>`
[void Parser_U::setImpulsion(double tinit, double periode)](#parser-u-public-void-parser-u-setimpulsion-double-tinit-double-periode)
setNbVar#
void Parser_U::setNbVar(int nvar)
Detailed description
Fixe le nombre max de variables a indiquer avec la methode addVar.
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 Parser_U::setNbVar(int nvar) <parser-u-public-void-parser-u-setnbvar-int-nvar>`
[void Parser_U::setNbVar(int nvar)](#parser-u-public-void-parser-u-setnbvar-int-nvar)
setString#
void Parser_U::setString(const Nom &nom)
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:`void Parser_U::setString(const Nom &nom) <parser-u-public-void-parser-u-setstring-const-nom-ref-nom>`
[void Parser_U::setString(const Nom &nom)](#parser-u-public-void-parser-u-setstring-const-nom-ref-nom)
setString#
void Parser_U::setString(const std::string &s)
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 Parser_U::setString(const std::string &s) <parser-u-public-void-parser-u-setstring-const-std-string-ref-s>`
[void Parser_U::setString(const std::string &s)](#parser-u-public-void-parser-u-setstring-const-std-string-ref-s)
setVar#
void Parser_U::setVar(const char *sv, double val)
Detailed description
Fixe la valeur de la variable representee par une chaine sv.
References
Referenced By
Echange_contact_Correlation_VDF::calculer_coefficient_echange
Echange_contact_Correlation_VEF::calculer_coefficient_echange
Modele_turbulence_scal_Prandtl::calculer_diffusivite_turbulente
Perte_Charge_Directionnelle_PolyMAC_Face::coeffs_perte_charge
Terme_Puissance_Thermique_Echange_Impose_Elem_base::pid_process
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 Parser_U::setVar(const char *sv, double val) <parser-u-public-void-parser-u-setvar-const-char-ptr-sv-double-val>`
[void Parser_U::setVar(const char *sv, double val)](#parser-u-public-void-parser-u-setvar-const-char-ptr-sv-double-val)
setVar#
void Parser_U::setVar(const std::string &v, double val)
Detailed description
Fixe la valeur de la variable representee par une chaine v. Fixe la valeur de la variable representee par un string v.
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:`void Parser_U::setVar(const std::string &v, double val) <parser-u-public-void-parser-u-setvar-const-std-string-ref-v-double-val>`
[void Parser_U::setVar(const std::string &v, double val)](#parser-u-public-void-parser-u-setvar-const-std-string-ref-v-double-val)
setVar#
void Parser_U::setVar(True_int i, double val)
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:`void Parser_U::setVar(True_int i, double val) <parser-u-public-void-parser-u-setvar-true-int-i-double-val>`
[void Parser_U::setVar(True_int i, double val)](#parser-u-public-void-parser-u-setvar-true-int-i-double-val)
setVar#
void Parser_U::setVar(trustIdType i, double val)
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:`void Parser_U::setVar(trustIdType i, double val) <parser-u-public-void-parser-u-setvar-trustidtype-i-double-val>`
[void Parser_U::setVar(trustIdType i, double val)](#parser-u-public-void-parser-u-setvar-trustidtype-i-double-val)
taille_memoire#
unsigned Parser_U::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 Parser_U::taille_memoire() const override <parser-u-public-unsigned-parser-u-taille-memoire-const-override>`
[unsigned Parser_U::taille_memoire() const override](#parser-u-public-unsigned-parser-u-taille-memoire-const-override)
~Parser_U#
Parser_U::~Parser_U() override
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:`Parser_U::~Parser_U() override <parser-u-public-parser-u-dtor-parser-u-override>`
[Parser_U::~Parser_U() override](#parser-u-public-parser-u-dtor-parser-u-override)
printOn#
Sortie & Parser_U::printOn(Sortie &x) const override
Surcharge Objet_U::printOn(Sortie&) Ecriture d’un Parser_U sur un flot de sortie.
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:`Sortie & Parser_U::printOn(Sortie &x) const override <parser-u-protected-sortie-ref-parser-u-printon-sortie-ref-x-const-override>`
[Sortie & Parser_U::printOn(Sortie &x) const override](#parser-u-protected-sortie-ref-parser-u-printon-sortie-ref-x-const-override)
readOn#
Entree & Parser_U::readOn(Entree &) override
Surcharge Objet_U::readOn(Entree&) Lecture d’un Parser_U dans un flot d’entree.
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:`Entree & Parser_U::readOn(Entree &) override <parser-u-protected-entree-ref-parser-u-readon-entree-ref-override>`
[Entree & Parser_U::readOn(Entree &) override](#parser-u-protected-entree-ref-parser-u-readon-entree-ref-override)
Attributes Documentation#
const Type_info Parser_U::info_obj
Parser* Parser_U::parser