SFichier#
#include <SFichier.h>
Cette classe est a la classe C + + ofstream ce que la classe Sortie est a la classe C + + ostream Elle redefinit de facon virtuelle les operateurs d’ecriture dans un fichier.
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:`SFichier <class-sfichier>`
[SFichier](#class-sfichier)
Detailed description#
Inherits from#
public : Sortie_Fichier_base
Inherited by#
public : EcrFicCollecte
public : EcrFicPartage
public : EcrFicPartageMPIIO
public : SFichierBin
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 SFichier::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 SFichier::duplique() const override <sfichier-public-int-sfichier-duplique-const-override>`
[int SFichier::duplique() const override](#sfichier-public-int-sfichier-duplique-const-override)
get_info#
const Type_info * SFichier::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 * SFichier::get_info() const override <sfichier-public-const-type-info-ptr-sfichier-get-info-const-override>`
[const Type_info * SFichier::get_info() const override](#sfichier-public-const-type-info-ptr-sfichier-get-info-const-override)
operator =#
SFichier & SFichier::operator=(const SFichier &f)=default
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:`SFichier & SFichier::operator=(const SFichier &f)=default <sfichier-public-sfichier-ref-sfichier-operator-equal-const-sfichier-ref-f-equal-default>`
[SFichier & SFichier::operator=(const SFichier &f)=default](#sfichier-public-sfichier-ref-sfichier-operator-equal-const-sfichier-ref-f-equal-default)
SFichier#
SFichier::SFichier()
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:`SFichier::SFichier() <sfichier-public-sfichier-sfichier>`
[SFichier::SFichier()](#sfichier-public-sfichier-sfichier)
SFichier#
SFichier::SFichier(const char *name, std::ios_base::openmode mode=ios::out)
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:`SFichier::SFichier(const char *name, std::ios_base::openmode mode=ios::out) <sfichier-public-sfichier-sfichier-const-char-ptr-name-std-ios-base-openmode-mode-equal-ios-out>`
[SFichier::SFichier(const char *name, std::ios_base::openmode mode=ios::out)](#sfichier-public-sfichier-sfichier-const-char-ptr-name-std-ios-base-openmode-mode-equal-ios-out)
SFichier#
SFichier::SFichier(const SFichier &)=default
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:`SFichier::SFichier(const SFichier &)=default <sfichier-public-sfichier-sfichier-const-sfichier-ref-equal-default>`
[SFichier::SFichier(const SFichier &)=default](#sfichier-public-sfichier-sfichier-const-sfichier-ref-equal-default)
taille_memoire#
unsigned SFichier::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 SFichier::taille_memoire() const override <sfichier-public-unsigned-sfichier-taille-memoire-const-override>`
[unsigned SFichier::taille_memoire() const override](#sfichier-public-unsigned-sfichier-taille-memoire-const-override)
~SFichier#
SFichier::~SFichier()
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:`SFichier::~SFichier() <sfichier-public-sfichier-dtor-sfichier>`
[SFichier::~SFichier()](#sfichier-public-sfichier-dtor-sfichier)
cree_instance#
Objet_U * SFichier::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 * SFichier::cree_instance() <sfichier-public-static-objet-u-ptr-sfichier-cree-instance>`
[Objet_U * SFichier::cree_instance()](#sfichier-public-static-objet-u-ptr-sfichier-cree-instance)
info#
const Type_info * SFichier::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 * SFichier::info() <sfichier-public-static-const-type-info-ptr-sfichier-info>`
[const Type_info * SFichier::info()](#sfichier-public-static-const-type-info-ptr-sfichier-info)
self_cast#
const SFichier & SFichier::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 SFichier & SFichier::self_cast(const Objet_U &) <sfichier-public-static-const-sfichier-ref-sfichier-self-cast-const-objet-u-ref>`
[const SFichier & SFichier::self_cast(const Objet_U &)](#sfichier-public-static-const-sfichier-ref-sfichier-self-cast-const-objet-u-ref)
self_cast#
SFichier & SFichier::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:`SFichier & SFichier::self_cast(Objet_U &) <sfichier-public-static-sfichier-ref-sfichier-self-cast-objet-u-ref>`
[SFichier & SFichier::self_cast(Objet_U &)](#sfichier-public-static-sfichier-ref-sfichier-self-cast-objet-u-ref)
printOn#
Sortie & SFichier::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 & SFichier::printOn(Sortie &x) const override <sfichier-protected-sortie-ref-sfichier-printon-sortie-ref-x-const-override>`
[Sortie & SFichier::printOn(Sortie &x) const override](#sfichier-protected-sortie-ref-sfichier-printon-sortie-ref-x-const-override)
readOn#
Entree & SFichier::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 & SFichier::readOn(Entree &) override <sfichier-protected-entree-ref-sfichier-readon-entree-ref-override>`
[Entree & SFichier::readOn(Entree &) override](#sfichier-protected-entree-ref-sfichier-readon-entree-ref-override)
Attributes Documentation#
const Type_info SFichier::info_obj