SFichier#

#include <SFichier.h>
Brief description

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#

Inherited by#

Inheritance graph#

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

../../../../../_images/classSFichier__inherit__graph.png

List of Public Methods#

List of Public Static Methods#

List of Protected Methods#

Complete Member Function Documentation#

duplique#

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

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

Definition
SFichier & SFichier::operator=(const SFichier &f)=default
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:`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#

Definition
SFichier::SFichier()
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:`SFichier::SFichier() <sfichier-public-sfichier-sfichier>`
[SFichier::SFichier()](#sfichier-public-sfichier-sfichier)

SFichier#

Definition
SFichier::SFichier(const char *name, std::ios_base::openmode mode=ios::out)
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:`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#

Definition
SFichier::SFichier(const SFichier &)=default
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:`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#

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

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

cree_instance#

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

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

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

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

Definition
Sortie & SFichier::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 & 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#

Definition
Entree & SFichier::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 & 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#

info_obj (public)
const Type_info SFichier::info_obj