LecFicDiffuse#
#include <LecFicDiffuse.h>
Cette classe implemente les operateurs et les methodes virtuelles de la classe EFichier de la facon suivante : Le fichier a lire est physiquement localise sur le disque de la machine hebergeant la tache maitre de l’application Trio - U (le processus de rang 0 dans le groupe “tous”)
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:`LecFicDiffuse <class-lecficdiffuse>`
[LecFicDiffuse](#class-lecficdiffuse)
Detailed description#
et chaque item lu dans ce fichier est diffuse a tous les autres processus du groupe tous. Il en est de meme pour les methodes d’inspection de l’etat d’un fichier.
Inherits from#
public : Lec_Diffuse_base
Inherited by#
public : LecFicDiffuseBin
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#
duplique#
int LecFicDiffuse::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 LecFicDiffuse::duplique() const override <lecficdiffuse-public-int-lecficdiffuse-duplique-const-override>`
[int LecFicDiffuse::duplique() const override](#lecficdiffuse-public-int-lecficdiffuse-duplique-const-override)
get_info#
const Type_info * LecFicDiffuse::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 * LecFicDiffuse::get_info() const override <lecficdiffuse-public-const-type-info-ptr-lecficdiffuse-get-info-const-override>`
[const Type_info * LecFicDiffuse::get_info() const override](#lecficdiffuse-public-const-type-info-ptr-lecficdiffuse-get-info-const-override)
get_istream#
const istream & LecFicDiffuse::get_istream() 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:`const istream & LecFicDiffuse::get_istream() const override <lecficdiffuse-public-const-istream-ref-lecficdiffuse-get-istream-const-override>`
[const istream & LecFicDiffuse::get_istream() const override](#lecficdiffuse-public-const-istream-ref-lecficdiffuse-get-istream-const-override)
get_istream#
istream & LecFicDiffuse::get_istream() 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:`istream & LecFicDiffuse::get_istream() override <lecficdiffuse-public-istream-ref-lecficdiffuse-get-istream-override>`
[istream & LecFicDiffuse::get_istream() override](#lecficdiffuse-public-istream-ref-lecficdiffuse-get-istream-override)
LecFicDiffuse#
LecFicDiffuse::LecFicDiffuse()
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:`LecFicDiffuse::LecFicDiffuse() <lecficdiffuse-public-lecficdiffuse-lecficdiffuse>`
[LecFicDiffuse::LecFicDiffuse()](#lecficdiffuse-public-lecficdiffuse-lecficdiffuse)
LecFicDiffuse#
LecFicDiffuse::LecFicDiffuse(const char *name, std::ios_base::openmode mode=ios::in)
ouverture du fichier name.
Detailed description
Cette methode doit etre appelee sur tous les processeurs. En cas d’echec : exit()
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:`LecFicDiffuse::LecFicDiffuse(const char *name, std::ios_base::openmode mode=ios::in) <lecficdiffuse-public-lecficdiffuse-lecficdiffuse-const-char-ptr-name-std-ios-base-openmode-mode-equal-ios-in>`
[LecFicDiffuse::LecFicDiffuse(const char *name, std::ios_base::openmode mode=ios::in)](#lecficdiffuse-public-lecficdiffuse-lecficdiffuse-const-char-ptr-name-std-ios-base-openmode-mode-equal-ios-in)
ouvrir#
int LecFicDiffuse::ouvrir(const char *name, std::ios_base::openmode mode=ios::in) override
Ouverture du fichier.
Detailed description
Cette methode doit etre appelee par tous les processeurs du groupe. Valeur de retour: 1 si ok, 0 sinon
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:`int LecFicDiffuse::ouvrir(const char *name, std::ios_base::openmode mode=ios::in) override <lecficdiffuse-public-int-lecficdiffuse-ouvrir-const-char-ptr-name-std-ios-base-openmode-mode-equal-ios-in-override>`
[int LecFicDiffuse::ouvrir(const char *name, std::ios_base::openmode mode=ios::in) override](#lecficdiffuse-public-int-lecficdiffuse-ouvrir-const-char-ptr-name-std-ios-base-openmode-mode-equal-ios-in-override)
taille_memoire#
unsigned LecFicDiffuse::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 LecFicDiffuse::taille_memoire() const override <lecficdiffuse-public-unsigned-lecficdiffuse-taille-memoire-const-override>`
[unsigned LecFicDiffuse::taille_memoire() const override](#lecficdiffuse-public-unsigned-lecficdiffuse-taille-memoire-const-override)
~LecFicDiffuse#
LecFicDiffuse::~LecFicDiffuse()
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:`LecFicDiffuse::~LecFicDiffuse() <lecficdiffuse-public-lecficdiffuse-dtor-lecficdiffuse>`
[LecFicDiffuse::~LecFicDiffuse()](#lecficdiffuse-public-lecficdiffuse-dtor-lecficdiffuse)
cree_instance#
Objet_U * LecFicDiffuse::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 * LecFicDiffuse::cree_instance() <lecficdiffuse-public-static-objet-u-ptr-lecficdiffuse-cree-instance>`
[Objet_U * LecFicDiffuse::cree_instance()](#lecficdiffuse-public-static-objet-u-ptr-lecficdiffuse-cree-instance)
info#
const Type_info * LecFicDiffuse::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 * LecFicDiffuse::info() <lecficdiffuse-public-static-const-type-info-ptr-lecficdiffuse-info>`
[const Type_info * LecFicDiffuse::info()](#lecficdiffuse-public-static-const-type-info-ptr-lecficdiffuse-info)
self_cast#
const LecFicDiffuse & LecFicDiffuse::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 LecFicDiffuse & LecFicDiffuse::self_cast(const Objet_U &) <lecficdiffuse-public-static-const-lecficdiffuse-ref-lecficdiffuse-self-cast-const-objet-u-ref>`
[const LecFicDiffuse & LecFicDiffuse::self_cast(const Objet_U &)](#lecficdiffuse-public-static-const-lecficdiffuse-ref-lecficdiffuse-self-cast-const-objet-u-ref)
self_cast#
LecFicDiffuse & LecFicDiffuse::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:`LecFicDiffuse & LecFicDiffuse::self_cast(Objet_U &) <lecficdiffuse-public-static-lecficdiffuse-ref-lecficdiffuse-self-cast-objet-u-ref>`
[LecFicDiffuse & LecFicDiffuse::self_cast(Objet_U &)](#lecficdiffuse-public-static-lecficdiffuse-ref-lecficdiffuse-self-cast-objet-u-ref)
get_entree_master#
Entree & LecFicDiffuse::get_entree_master() override
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 & LecFicDiffuse::get_entree_master() override <lecficdiffuse-protected-entree-ref-lecficdiffuse-get-entree-master-override>`
[Entree & LecFicDiffuse::get_entree_master() override](#lecficdiffuse-protected-entree-ref-lecficdiffuse-get-entree-master-override)
printOn#
Sortie & LecFicDiffuse::printOn(Sortie &x) const override
Ecriture de l’objet sur un flot de sortie Methode 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:`Sortie & LecFicDiffuse::printOn(Sortie &x) const override <lecficdiffuse-protected-sortie-ref-lecficdiffuse-printon-sortie-ref-x-const-override>`
[Sortie & LecFicDiffuse::printOn(Sortie &x) const override](#lecficdiffuse-protected-sortie-ref-lecficdiffuse-printon-sortie-ref-x-const-override)
readOn#
Entree & LecFicDiffuse::readOn(Entree &) override
Lecture d’un Objet_U sur un flot d’entree Methode 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:`Entree & LecFicDiffuse::readOn(Entree &) override <lecficdiffuse-protected-entree-ref-lecficdiffuse-readon-entree-ref-override>`
[Entree & LecFicDiffuse::readOn(Entree &) override](#lecficdiffuse-protected-entree-ref-lecficdiffuse-readon-entree-ref-override)
Attributes Documentation#
const Type_info LecFicDiffuse::info_obj
EFichier LecFicDiffuse::file_