Constante#

#include <Constante.h>
Brief description

Definit une constante 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:`Constante <class-constante>`
[Constante](#class-constante)

Detailed description#

Inherits from#

Inheritance graph#

If the image is too small, right-click and open in new tab

../../../../../_images/classConstante__inherit__graph.png

List of Public Static Methods#

List of Public Methods#

List of Protected Methods#

Complete Member Function Documentation#

cree_instance#

Definition
Objet_U * Constante::cree_instance()
Brief description
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 * Constante::cree_instance() <constante-public-static-objet-u-ptr-constante-cree-instance>`
[Objet_U * Constante::cree_instance()](#constante-public-static-objet-u-ptr-constante-cree-instance)

info#

Definition
const Type_info * Constante::info()
Brief description
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 * Constante::info() <constante-public-static-const-type-info-ptr-constante-info>`
[const Type_info * Constante::info()](#constante-public-static-const-type-info-ptr-constante-info)

self_cast#

Definition
const Constante & Constante::self_cast(const Objet_U &)
Brief description
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 Constante & Constante::self_cast(const Objet_U &) <constante-public-static-const-constante-ref-constante-self-cast-const-objet-u-ref>`
[const Constante & Constante::self_cast(const Objet_U &)](#constante-public-static-const-constante-ref-constante-self-cast-const-objet-u-ref)

self_cast#

Definition
Constante & Constante::self_cast(Objet_U &)
Brief description
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:`Constante & Constante::self_cast(Objet_U &) <constante-public-static-constante-ref-constante-self-cast-objet-u-ref>`
[Constante & Constante::self_cast(Objet_U &)](#constante-public-static-constante-ref-constante-self-cast-objet-u-ref)

Constante#

Definition
Constante::Constante()
Brief description
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:`Constante::Constante() <constante-public-constante-constante>`
[Constante::Constante()](#constante-public-constante-constante)

Constante#

Definition
Constante::Constante(const Constante &v)
Brief description
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:`Constante::Constante(const Constante &v) <constante-public-constante-constante-const-constante-ref-v>`
[Constante::Constante(const Constante &v)](#constante-public-constante-constante-const-constante-ref-v)

duplique#

Definition
int Constante::duplique() const override
Brief description
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 Constante::duplique() const override <constante-public-int-constante-duplique-const-override>`
[int Constante::duplique() const override](#constante-public-int-constante-duplique-const-override)

get_info#

Definition
const Type_info * Constante::get_info() const override
Brief description

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 * Constante::get_info() const override <constante-public-const-type-info-ptr-constante-get-info-const-override>`
[const Type_info * Constante::get_info() const override](#constante-public-const-type-info-ptr-constante-get-info-const-override)

getValue#

Definition
double Constante::getValue()
Brief description
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:`double Constante::getValue() <constante-public-double-constante-getvalue>`
[double Constante::getValue()](#constante-public-double-constante-getvalue)

getValue#

Definition
const double & Constante::getValue() const
Brief description
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 double & Constante::getValue() const <constante-public-const-double-ref-constante-getvalue-const>`
[const double & Constante::getValue() const](#constante-public-const-double-ref-constante-getvalue-const)

le_nom#

Definition
const Nom & Constante::le_nom() const override
Brief description

Donne le nom de l’ Objet_U Methode a surcharger : renvoie “neant” dans cette implementation.

Detailed description

Reimplements:

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 Nom & Constante::le_nom() const override <constante-public-const-nom-ref-constante-le-nom-const-override>`
[const Nom & Constante::le_nom() const override](#constante-public-const-nom-ref-constante-le-nom-const-override)

nommer#

Definition
void Constante::nommer(const Nom &name) override
Brief description

Donne un nom a l’ Objet_U Methode virtuelle a surcharger.

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:`void Constante::nommer(const Nom &name) override <constante-public-void-constante-nommer-const-nom-ref-name-override>`
[void Constante::nommer(const Nom &name) override](#constante-public-void-constante-nommer-const-nom-ref-name-override)

reprendre#

Definition
int Constante::reprendre(Entree &) override
Brief description

Reprise 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:`int Constante::reprendre(Entree &) override <constante-public-int-constante-reprendre-entree-ref-override>`
[int Constante::reprendre(Entree &) override](#constante-public-int-constante-reprendre-entree-ref-override)

setValue#

Definition
void Constante::setValue(double x)
Brief description
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:`void Constante::setValue(double x) <constante-public-void-constante-setvalue-double-x>`
[void Constante::setValue(double x)](#constante-public-void-constante-setvalue-double-x)

taille_memoire#

Definition
unsigned Constante::taille_memoire() const override
Brief description
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 Constante::taille_memoire() const override <constante-public-unsigned-constante-taille-memoire-const-override>`
[unsigned Constante::taille_memoire() const override](#constante-public-unsigned-constante-taille-memoire-const-override)

~Constante#

Definition
Constante::~Constante() override
Brief description
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:`Constante::~Constante() override <constante-public-constante-dtor-constante-override>`
[Constante::~Constante() override](#constante-public-constante-dtor-constante-override)

printOn#

Definition
Sortie & Constante::printOn(Sortie &x) const override
Brief description

Ecriture sur un flot de sortie Ecrit la valeur de la constante.

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 & Constante::printOn(Sortie &x) const override <constante-protected-sortie-ref-constante-printon-sortie-ref-x-const-override>`
[Sortie & Constante::printOn(Sortie &x) const override](#constante-protected-sortie-ref-constante-printon-sortie-ref-x-const-override)

readOn#

Definition
Entree & Constante::readOn(Entree &) override
Brief description

Lit la valeur de la constante.

Detailed description

Reimplements:

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 & Constante::readOn(Entree &) override <constante-protected-entree-ref-constante-readon-entree-ref-override>`
[Entree & Constante::readOn(Entree &) override](#constante-protected-entree-ref-constante-readon-entree-ref-override)

Attributes Documentation#

info_obj (public)
const Type_info Constante::info_obj
nom_ (private)
Nom Constante::nom_
value (private)
double Constante::value