Entree_Fichier_base#

#include <Entree_Fichier_base.h>
Brief description

Fichier en lecture Cette classe est a la classe C + + ifstream ce que la classe Entree est a la.

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

Detailed description#

classe C + + istream. Elle redefinit de facon virtuelle les operateurs de lecture dans un fichier.

Inherits from#

Inherited by#

Inheritance graph#

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

../../../../../_images/classEntree__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 Entree_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 Entree_Fichier_base::close() <entree-fichier-base-public-void-entree-fichier-base-close>`
[void Entree_Fichier_base::close()](#entree-fichier-base-public-void-entree-fichier-base-close)

Entree_Fichier_base#

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

Entree_Fichier_base#

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

Entree_Fichier_base#

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

eof#

Definition
int Entree_Fichier_base::eof() 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:`int Entree_Fichier_base::eof() override <entree-fichier-base-public-int-entree-fichier-base-eof-override>`
[int Entree_Fichier_base::eof() override](#entree-fichier-base-public-int-entree-fichier-base-eof-override)

fail#

Definition
int Entree_Fichier_base::fail() 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:`int Entree_Fichier_base::fail() override <entree-fichier-base-public-int-entree-fichier-base-fail-override>`
[int Entree_Fichier_base::fail() override](#entree-fichier-base-public-int-entree-fichier-base-fail-override)

get_ifstream#

Definition
ifstream & Entree_Fichier_base::get_ifstream()
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:`ifstream & Entree_Fichier_base::get_ifstream() <entree-fichier-base-public-ifstream-ref-entree-fichier-base-get-ifstream>`
[ifstream & Entree_Fichier_base::get_ifstream()](#entree-fichier-base-public-ifstream-ref-entree-fichier-base-get-ifstream)

get_info#

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

good#

Definition
int Entree_Fichier_base::good() 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:`int Entree_Fichier_base::good() override <entree-fichier-base-public-int-entree-fichier-base-good-override>`
[int Entree_Fichier_base::good() override](#entree-fichier-base-public-int-entree-fichier-base-good-override)

ouvrir#

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

precision#

Definition
void Entree_Fichier_base::precision(int pre)
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 Entree_Fichier_base::precision(int pre) <entree-fichier-base-public-void-entree-fichier-base-precision-int-pre>`
[void Entree_Fichier_base::precision(int pre)](#entree-fichier-base-public-void-entree-fichier-base-precision-int-pre)

setf#

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

~Entree_Fichier_base#

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

Can_be_read#

Definition
bool Entree_Fichier_base::Can_be_read(const char *name)
Brief description

Return True if the file can be opened for reading, false otherwise.

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:`bool Entree_Fichier_base::Can_be_read(const char *name) <entree-fichier-base-public-static-bool-entree-fichier-base-can-be-read-const-char-ptr-name>`
[bool Entree_Fichier_base::Can_be_read(const char *name)](#entree-fichier-base-public-static-bool-entree-fichier-base-can-be-read-const-char-ptr-name)

info#

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

self_cast#

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

self_cast#

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

printOn#

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

readOn#

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

operator =#

Definition
Entree_Fichier_base & Entree_Fichier_base::operator=(const Entree_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:`Entree_Fichier_base & Entree_Fichier_base::operator=(const Entree_Fichier_base &) <entree-fichier-base-private-entree-fichier-base-ref-entree-fichier-base-operator-equal-const-entree-fichier-base-ref>`
[Entree_Fichier_base & Entree_Fichier_base::operator=(const Entree_Fichier_base &)](#entree-fichier-base-private-entree-fichier-base-ref-entree-fichier-base-operator-equal-const-entree-fichier-base-ref)

Attributes Documentation#

info_obj (public)
const Type_info Entree_Fichier_base::info_obj
ifstream_ (protected)
ifstream* Entree_Fichier_base::ifstream_