Sortie_Fichier_base#

#include <Sortie_Fichier_base.h>
Brief description

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:`Sortie\_Fichier\_base <class-sortie-fichier-base>`
[Sortie\_Fichier\_base](#class-sortie-fichier-base)

Detailed description#

Inherits from#

Inherited by#

Inheritance graph#

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

../../../../../_images/classSortie__Fichier__base__inherit__graph.png

List of Public Methods#

List of Public Static Methods#

List of Protected Methods#

List of Private Methods#

Complete Member Function Documentation#

close#

Definition
void Sortie_Fichier_base::close()
Brief description
Detailed description
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:`void Sortie_Fichier_base::close() <sortie-fichier-base-public-void-sortie-fichier-base-close>`
[void Sortie_Fichier_base::close()](#sortie-fichier-base-public-void-sortie-fichier-base-close)

flush#

Definition
Sortie & Sortie_Fichier_base::flush() override
Brief description

Force l’ecriture sur disque des donnees dans le tampon Utilise l’implementation de la classe ofstream.

Detailed description

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:`Sortie & Sortie_Fichier_base::flush() override <sortie-fichier-base-public-sortie-ref-sortie-fichier-base-flush-override>`
[Sortie & Sortie_Fichier_base::flush() override](#sortie-fichier-base-public-sortie-ref-sortie-fichier-base-flush-override)

get_info#

Definition
const Type_info * Sortie_Fichier_base::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 * Sortie_Fichier_base::get_info() const override <sortie-fichier-base-public-const-type-info-ptr-sortie-fichier-base-get-info-const-override>`
[const Type_info * Sortie_Fichier_base::get_info() const override](#sortie-fichier-base-public-const-type-info-ptr-sortie-fichier-base-get-info-const-override)

get_ofstream#

Definition
ofstream & Sortie_Fichier_base::get_ofstream()
Brief description
Detailed description
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:`ofstream & Sortie_Fichier_base::get_ofstream() <sortie-fichier-base-public-ofstream-ref-sortie-fichier-base-get-ofstream>`
[ofstream & Sortie_Fichier_base::get_ofstream()](#sortie-fichier-base-public-ofstream-ref-sortie-fichier-base-get-ofstream)

get_precision#

Definition
int Sortie_Fichier_base::get_precision()
Brief description
Detailed description
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 Sortie_Fichier_base::get_precision() <sortie-fichier-base-public-int-sortie-fichier-base-get-precision>`
[int Sortie_Fichier_base::get_precision()](#sortie-fichier-base-public-int-sortie-fichier-base-get-precision)

is_open#

Definition
bool Sortie_Fichier_base::is_open()
Brief description
Detailed description
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:`bool Sortie_Fichier_base::is_open() <sortie-fichier-base-public-bool-sortie-fichier-base-is-open>`
[bool Sortie_Fichier_base::is_open()](#sortie-fichier-base-public-bool-sortie-fichier-base-is-open)

ouvrir#

Definition
int Sortie_Fichier_base::ouvrir(const char *name, std::ios_base::openmode mode=ios::out)
Brief description
Detailed description
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 Sortie_Fichier_base::ouvrir(const char *name, std::ios_base::openmode mode=ios::out) <sortie-fichier-base-public-int-sortie-fichier-base-ouvrir-const-char-ptr-name-std-ios-base-openmode-mode-equal-ios-out>`
[int Sortie_Fichier_base::ouvrir(const char *name, std::ios_base::openmode mode=ios::out)](#sortie-fichier-base-public-int-sortie-fichier-base-ouvrir-const-char-ptr-name-std-ios-base-openmode-mode-equal-ios-out)

precision#

Definition
void Sortie_Fichier_base::precision(int pre) override
Brief description
Detailed description

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:`void Sortie_Fichier_base::precision(int pre) override <sortie-fichier-base-public-void-sortie-fichier-base-precision-int-pre-override>`
[void Sortie_Fichier_base::precision(int pre) override](#sortie-fichier-base-public-void-sortie-fichier-base-precision-int-pre-override)

setf#

Definition
void Sortie_Fichier_base::setf(std::ios_base::fmtflags code) override
Brief description
Detailed description

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:`void Sortie_Fichier_base::setf(std::ios_base::fmtflags code) override <sortie-fichier-base-public-void-sortie-fichier-base-setf-std-ios-base-fmtflags-code-override>`
[void Sortie_Fichier_base::setf(std::ios_base::fmtflags code) override](#sortie-fichier-base-public-void-sortie-fichier-base-setf-std-ios-base-fmtflags-code-override)

Sortie_Fichier_base#

Definition
Sortie_Fichier_base::Sortie_Fichier_base()
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:`Sortie_Fichier_base::Sortie_Fichier_base() <sortie-fichier-base-public-sortie-fichier-base-sortie-fichier-base>`
[Sortie_Fichier_base::Sortie_Fichier_base()](#sortie-fichier-base-public-sortie-fichier-base-sortie-fichier-base)

Sortie_Fichier_base#

Definition
Sortie_Fichier_base::Sortie_Fichier_base(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:`Sortie_Fichier_base::Sortie_Fichier_base(const char *name, std::ios_base::openmode mode=ios::out) <sortie-fichier-base-public-sortie-fichier-base-sortie-fichier-base-const-char-ptr-name-std-ios-base-openmode-mode-equal-ios-out>`
[Sortie_Fichier_base::Sortie_Fichier_base(const char *name, std::ios_base::openmode mode=ios::out)](#sortie-fichier-base-public-sortie-fichier-base-sortie-fichier-base-const-char-ptr-name-std-ios-base-openmode-mode-equal-ios-out)

Sortie_Fichier_base#

Definition
Sortie_Fichier_base::Sortie_Fichier_base(const Sortie_Fichier_base &)=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:`Sortie_Fichier_base::Sortie_Fichier_base(const Sortie_Fichier_base &)=default <sortie-fichier-base-public-sortie-fichier-base-sortie-fichier-base-const-sortie-fichier-base-ref-equal-default>`
[Sortie_Fichier_base::Sortie_Fichier_base(const Sortie_Fichier_base &)=default](#sortie-fichier-base-public-sortie-fichier-base-sortie-fichier-base-const-sortie-fichier-base-ref-equal-default)

~Sortie_Fichier_base#

Definition
Sortie_Fichier_base::~Sortie_Fichier_base() override
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:`Sortie_Fichier_base::~Sortie_Fichier_base() override <sortie-fichier-base-public-sortie-fichier-base-dtor-sortie-fichier-base-override>`
[Sortie_Fichier_base::~Sortie_Fichier_base() override](#sortie-fichier-base-public-sortie-fichier-base-dtor-sortie-fichier-base-override)

info#

Definition
const Type_info * Sortie_Fichier_base::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 * Sortie_Fichier_base::info() <sortie-fichier-base-public-static-const-type-info-ptr-sortie-fichier-base-info>`
[const Type_info * Sortie_Fichier_base::info()](#sortie-fichier-base-public-static-const-type-info-ptr-sortie-fichier-base-info)

self_cast#

Definition
const Sortie_Fichier_base & Sortie_Fichier_base::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 Sortie_Fichier_base & Sortie_Fichier_base::self_cast(const Objet_U &) <sortie-fichier-base-public-static-const-sortie-fichier-base-ref-sortie-fichier-base-self-cast-const-objet-u-ref>`
[const Sortie_Fichier_base & Sortie_Fichier_base::self_cast(const Objet_U &)](#sortie-fichier-base-public-static-const-sortie-fichier-base-ref-sortie-fichier-base-self-cast-const-objet-u-ref)

self_cast#

Definition
Sortie_Fichier_base & Sortie_Fichier_base::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:`Sortie_Fichier_base & Sortie_Fichier_base::self_cast(Objet_U &) <sortie-fichier-base-public-static-sortie-fichier-base-ref-sortie-fichier-base-self-cast-objet-u-ref>`
[Sortie_Fichier_base & Sortie_Fichier_base::self_cast(Objet_U &)](#sortie-fichier-base-public-static-sortie-fichier-base-ref-sortie-fichier-base-self-cast-objet-u-ref)

set_root#

Definition
void Sortie_Fichier_base::set_root(const std::string dirname)
Brief description
Detailed description
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:`void Sortie_Fichier_base::set_root(const std::string dirname) <sortie-fichier-base-public-static-void-sortie-fichier-base-set-root-const-std-string-dirname>`
[void Sortie_Fichier_base::set_root(const std::string dirname)](#sortie-fichier-base-public-static-void-sortie-fichier-base-set-root-const-std-string-dirname)

operator =#

Definition
Sortie_Fichier_base & Sortie_Fichier_base::operator=(const Sortie_Fichier_base &f)
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:`Sortie_Fichier_base & Sortie_Fichier_base::operator=(const Sortie_Fichier_base &f) <sortie-fichier-base-protected-sortie-fichier-base-ref-sortie-fichier-base-operator-equal-const-sortie-fichier-base-ref-f>`
[Sortie_Fichier_base & Sortie_Fichier_base::operator=(const Sortie_Fichier_base &f)](#sortie-fichier-base-protected-sortie-fichier-base-ref-sortie-fichier-base-operator-equal-const-sortie-fichier-base-ref-f)

printOn#

Definition
Sortie & Sortie_Fichier_base::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 & Sortie_Fichier_base::printOn(Sortie &x) const override <sortie-fichier-base-protected-sortie-ref-sortie-fichier-base-printon-sortie-ref-x-const-override>`
[Sortie & Sortie_Fichier_base::printOn(Sortie &x) const override](#sortie-fichier-base-protected-sortie-ref-sortie-fichier-base-printon-sortie-ref-x-const-override)

readOn#

Definition
Entree & Sortie_Fichier_base::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 & Sortie_Fichier_base::readOn(Entree &) override <sortie-fichier-base-protected-entree-ref-sortie-fichier-base-readon-entree-ref-override>`
[Entree & Sortie_Fichier_base::readOn(Entree &) override](#sortie-fichier-base-protected-entree-ref-sortie-fichier-base-readon-entree-ref-override)

set_buffer#

Definition
void Sortie_Fichier_base::set_buffer()
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:`void Sortie_Fichier_base::set_buffer() <sortie-fichier-base-private-void-sortie-fichier-base-set-buffer>`
[void Sortie_Fichier_base::set_buffer()](#sortie-fichier-base-private-void-sortie-fichier-base-set-buffer)

set_toFlush#

Definition
void Sortie_Fichier_base::set_toFlush()
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:`void Sortie_Fichier_base::set_toFlush() <sortie-fichier-base-private-void-sortie-fichier-base-set-toflush>`
[void Sortie_Fichier_base::set_toFlush()](#sortie-fichier-base-private-void-sortie-fichier-base-set-toflush)

toFlush#

Definition
int Sortie_Fichier_base::toFlush()
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:`int Sortie_Fichier_base::toFlush() <sortie-fichier-base-private-int-sortie-fichier-base-toflush>`
[int Sortie_Fichier_base::toFlush()](#sortie-fichier-base-private-int-sortie-fichier-base-toflush)

Attributes Documentation#

info_obj (public)
const Type_info Sortie_Fichier_base::info_obj
root (public)
std::string Sortie_Fichier_base::root = ""
ofstream_ (protected)
ofstream* Sortie_Fichier_base::ofstream_ = nullptr

This pointer is just a (typed) view on the smart ptr hold by the base class ( Sortie ). The base class is managing the memory.

internalBuff_ (private)
char* Sortie_Fichier_base::internalBuff_ = nullptr
toFlush_ (private)
int Sortie_Fichier_base::toFlush_