LecFicDiffuse#

#include <LecFicDiffuse.h>
Brief description

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#

Inherited by#

Inheritance graph#

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

../../../../../_images/classLecFicDiffuse__inherit__graph.png

List of Public Methods#

List of Public Static Methods#

List of Protected Methods#

Complete Member Function Documentation#

duplique#

Definition
int LecFicDiffuse::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 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#

Definition
const Type_info * LecFicDiffuse::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 * 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#

Definition
const istream & LecFicDiffuse::get_istream() const override
Brief description
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:`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#

Definition
istream & LecFicDiffuse::get_istream() override
Brief description
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:`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#

Definition
LecFicDiffuse::LecFicDiffuse()
Brief description
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#

Definition
LecFicDiffuse::LecFicDiffuse(const char *name, std::ios_base::openmode mode=ios::in)
Brief description

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#

Definition
int LecFicDiffuse::ouvrir(const char *name, std::ios_base::openmode mode=ios::in) override
Brief description

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:

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 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#

Definition
unsigned LecFicDiffuse::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 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#

Definition
LecFicDiffuse::~LecFicDiffuse()
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:`LecFicDiffuse::~LecFicDiffuse() <lecficdiffuse-public-lecficdiffuse-dtor-lecficdiffuse>`
[LecFicDiffuse::~LecFicDiffuse()](#lecficdiffuse-public-lecficdiffuse-dtor-lecficdiffuse)

cree_instance#

Definition
Objet_U * LecFicDiffuse::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 * 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#

Definition
const Type_info * LecFicDiffuse::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 * 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#

Definition
const LecFicDiffuse & LecFicDiffuse::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 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#

Definition
LecFicDiffuse & LecFicDiffuse::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:`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#

Definition
Entree & LecFicDiffuse::get_entree_master() override
Brief description
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#

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

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#

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

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#

info_obj (public)
const Type_info LecFicDiffuse::info_obj
file_ (protected)
EFichier LecFicDiffuse::file_