Motcle#
#include <Motcle.h>
Une chaine de caractere ( Nom ) en majuscules.
How to cite this class in this doc#
:ref:`Motcle <class-motcle>`
[Motcle](#class-motcle)
Detailed description#
Inherits from#
public : Nom
List of Public Methods#
List of Public Static Methods#
List of Protected Methods#
Complete Member Function Documentation#
int Motcle::debute_par(const char *const n) const override
Reimplements:
References
Referenced By
How to cite in this doc:
:ref:`int Motcle::debute_par(const char *const n) const override <public-int-motcle-debute-par-const-char-ptr-const-n-const-override>`
[int Motcle::debute_par(const char *const n) const override](#public-int-motcle-debute-par-const-char-ptr-const-n-const-override)
int Motcle::duplique() const override
Reimplements:
How to cite in this doc:
:ref:`int Motcle::duplique() const override <public-int-motcle-duplique-const-override>`
[int Motcle::duplique() const override](#public-int-motcle-duplique-const-override)
int Motcle::find(const char *const n) const override
Reimplements:
References
How to cite in this doc:
:ref:`int Motcle::find(const char *const n) const override <public-int-motcle-find-const-char-ptr-const-n-const-override>`
[int Motcle::find(const char *const n) const override](#public-int-motcle-find-const-char-ptr-const-n-const-override)
int Motcle::finit_par(const char *const n) const override
Reimplements:
References
How to cite in this doc:
:ref:`int Motcle::finit_par(const char *const n) const override <public-int-motcle-finit-par-const-char-ptr-const-n-const-override>`
[int Motcle::finit_par(const char *const n) const override](#public-int-motcle-finit-par-const-char-ptr-const-n-const-override)
const Type_info * Motcle::get_info() const override
Donne des informations sur le type de l’ Objet_U .
Reimplements:
How to cite in this doc:
:ref:`const Type_info * Motcle::get_info() const override <public-const-type-info-ptr-motcle-get-info-const-override>`
[const Type_info * Motcle::get_info() const override](#public-const-type-info-ptr-motcle-get-info-const-override)
Motcle::Motcle()
Constructeur par defaut Construit un Nom puis le passe en majuscule.
References
How to cite in this doc:
:ref:`Motcle::Motcle() <public-motcle-motcle>`
[Motcle::Motcle()](#public-motcle-motcle)
Motcle::Motcle(const char *const nom)
Construction d’un Motcle a partie d’une chaine de caracteres Construit un Nom puis le passe en majuscules.
References
How to cite in this doc:
:ref:`Motcle::Motcle(const char *const nom) <public-motcle-motcle-const-char-ptr-const-nom>`
[Motcle::Motcle(const char *const nom)](#public-motcle-motcle-const-char-ptr-const-nom)
Motcle::Motcle(const Motcle &nom)
Construction d’un Motcle par copie.
How to cite in this doc:
:ref:`Motcle::Motcle(const Motcle &nom) <public-motcle-motcle-const-motcle-ref-nom>`
[Motcle::Motcle(const Motcle &nom)](#public-motcle-motcle-const-motcle-ref-nom)
Motcle::Motcle(const Nom &)
References
How to cite in this doc:
:ref:`Motcle::Motcle(const Nom &) <public-motcle-motcle-const-nom-ref>`
[Motcle::Motcle(const Nom &)](#public-motcle-motcle-const-nom-ref)
Motcle::Motcle(const std::string &nom)
References
How to cite in this doc:
:ref:`Motcle::Motcle(const std::string &nom) <public-motcle-motcle-const-std-string-ref-nom>`
[Motcle::Motcle(const std::string &nom)](#public-motcle-motcle-const-std-string-ref-nom)
Motcle & Motcle::operator+=(const char *const)
References
How to cite in this doc:
:ref:`Motcle & Motcle::operator+=(const char *const) <public-motcle-ref-motcle-operator+-equal-const-char-ptr-const>`
[Motcle & Motcle::operator+=(const char *const)](#public-motcle-ref-motcle-operator+-equal-const-char-ptr-const)
Motcle & Motcle::operator=(const char *const)
Construction a partir d’une chaine de caracteres Utilise l’implementation de la classe Nom .
References
How to cite in this doc:
:ref:`Motcle & Motcle::operator=(const char *const) <public-motcle-ref-motcle-operator-equal-const-char-ptr-const>`
[Motcle & Motcle::operator=(const char *const)](#public-motcle-ref-motcle-operator-equal-const-char-ptr-const)
Motcle & Motcle::operator=(const Motcle &)
Construction par copie Utilise l’implementation de la classe Nom .
References
How to cite in this doc:
:ref:`Motcle & Motcle::operator=(const Motcle &) <public-motcle-ref-motcle-operator-equal-const-motcle-ref>`
[Motcle & Motcle::operator=(const Motcle &)](#public-motcle-ref-motcle-operator-equal-const-motcle-ref)
Motcle & Motcle::operator=(const Nom &)
References
How to cite in this doc:
:ref:`Motcle & Motcle::operator=(const Nom &) <public-motcle-ref-motcle-operator-equal-const-nom-ref>`
[Motcle & Motcle::operator=(const Nom &)](#public-motcle-ref-motcle-operator-equal-const-nom-ref)
int Motcle::selftest()
Autotest de la classe Motcle Effectue des affectations de controle.
Retourne toujours 1
How to cite in this doc:
:ref:`int Motcle::selftest() <public-int-motcle-selftest>`
[int Motcle::selftest()](#public-int-motcle-selftest)
unsigned Motcle::taille_memoire() const override
Reimplements:
How to cite in this doc:
:ref:`unsigned Motcle::taille_memoire() const override <public-unsigned-motcle-taille-memoire-const-override>`
[unsigned Motcle::taille_memoire() const override](#public-unsigned-motcle-taille-memoire-const-override)
Motcle::~Motcle()
How to cite in this doc:
:ref:`Motcle::~Motcle() <public-motcle-dtor-motcle>`
[Motcle::~Motcle()](#public-motcle-dtor-motcle)
Objet_U * Motcle::cree_instance()
How to cite in this doc:
:ref:`Objet_U * Motcle::cree_instance() <public-static-objet-u-ptr-motcle-cree-instance>`
[Objet_U * Motcle::cree_instance()](#public-static-objet-u-ptr-motcle-cree-instance)
const Type_info * Motcle::info()
How to cite in this doc:
:ref:`const Type_info * Motcle::info() <public-static-const-type-info-ptr-motcle-info>`
[const Type_info * Motcle::info()](#public-static-const-type-info-ptr-motcle-info)
const Motcle & Motcle::self_cast(const Objet_U &)
How to cite in this doc:
:ref:`const Motcle & Motcle::self_cast(const Objet_U &) <public-static-const-motcle-ref-motcle-self-cast-const-objet-u-ref>`
[const Motcle & Motcle::self_cast(const Objet_U &)](#public-static-const-motcle-ref-motcle-self-cast-const-objet-u-ref)
Motcle & Motcle::self_cast(Objet_U &)
How to cite in this doc:
:ref:`Motcle & Motcle::self_cast(Objet_U &) <public-static-motcle-ref-motcle-self-cast-objet-u-ref>`
[Motcle & Motcle::self_cast(Objet_U &)](#public-static-motcle-ref-motcle-self-cast-objet-u-ref)
Sortie & Motcle::printOn(Sortie &x) const override
Ecriture d’un Motcle sur un flot de sortie Utilise l’implementation de la classe Nom .
Reimplements:
References
How to cite in this doc:
:ref:`Sortie & Motcle::printOn(Sortie &x) const override <protected-sortie-ref-motcle-printon-sortie-ref-x-const-override>`
[Sortie & Motcle::printOn(Sortie &x) const override](#protected-sortie-ref-motcle-printon-sortie-ref-x-const-override)
Entree & Motcle::readOn(Entree &) override
Lecture d’un Motcle dans un flot d’entree Utilise l’implementation de la classe Nom .
Passe ensuite le Nom en majuscules
Reimplements:
References
How to cite in this doc:
:ref:`Entree & Motcle::readOn(Entree &) override <protected-entree-ref-motcle-readon-entree-ref-override>`
[Entree & Motcle::readOn(Entree &) override](#protected-entree-ref-motcle-readon-entree-ref-override)
Attributes Documentation#
const Type_info Motcle::info_obj
Friends#
int operator!=
int operator!=
int operator!=
int operator!=
int operator!=
int operator==
int operator==
int operator==
int operator==
int operator==