Sortie#

#include <Sortie.h>
Brief description

Classe de base des flux de sortie.

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 <class-sortie>`
[Sortie](#class-sortie)

Detailed description#

Elle sait ecrire des types simples (entiers, flottants) et des Objet_U (via printOn de l’objet_U) Attention, certains classes derivees sont paralleles: dans ce cas, il faut appeler syncfile() periodiquement sur tous les processeurs. Voir class EcrFicPartage Attention: pour ecrire correctement un flux a la fois en ASCII et BINAIRE, il faut utiliser un Separateur (finl ou space) pour separer les objets ecrits.

Inherits from#

Inherited by#

List of Public Methods#

List of Private Methods#

Complete Member Function Documentation#

add_col#

Definition
int Sortie::add_col(const char *ob)
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:`int Sortie::add_col(const char *ob) <sortie-public-int-sortie-add-col-const-char-ptr-ob>`
[int Sortie::add_col(const char *ob)](#sortie-public-int-sortie-add-col-const-char-ptr-ob)

add_col#

Definition
int Sortie::add_col(const double ob)
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::add_col(const double ob) <sortie-public-int-sortie-add-col-const-double-ob>`
[int Sortie::add_col(const double ob)](#sortie-public-int-sortie-add-col-const-double-ob)

flush#

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

get_ostream#

Definition
ostream & Sortie::get_ostream()
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:`ostream & Sortie::get_ostream() <sortie-public-ostream-ref-sortie-get-ostream>`
[ostream & Sortie::get_ostream()](#sortie-public-ostream-ref-sortie-get-ostream)

get_ostream#

Definition
const ostream & Sortie::get_ostream() const
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:`const ostream & Sortie::get_ostream() const <sortie-public-const-ostream-ref-sortie-get-ostream-const>`
[const ostream & Sortie::get_ostream() const](#sortie-public-const-ostream-ref-sortie-get-ostream-const)

has_ostream#

Definition
bool Sortie::has_ostream() const
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::has_ostream() const <sortie-public-bool-sortie-has-ostream-const>`
[bool Sortie::has_ostream() const](#sortie-public-bool-sortie-has-ostream-const)

lockfile#

Definition
Sortie & Sortie::lockfile()
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 & Sortie::lockfile() <sortie-public-sortie-ref-sortie-lockfile>`
[Sortie & Sortie::lockfile()](#sortie-public-sortie-ref-sortie-lockfile)

operator<<#

Definition
Sortie & Sortie::operator<<(const char *ob)
Brief description

Ecriture d’une chaine de caracteres.

Detailed description

Attention, pour pouvoir relire correctement la chaine en mode ascii, celle-ci ne doit pas contenir de separateur (ni espace, ni retour a la ligne, …)

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 & Sortie::operator<<(const char *ob) <sortie-public-sortie-ref-sortie-operator-const-char-ptr-ob>`
[Sortie & Sortie::operator<<(const char *ob)](#sortie-public-sortie-ref-sortie-operator-const-char-ptr-ob)

operator<<#

Definition
Sortie & Sortie::operator<<(const double ob)
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 & Sortie::operator<<(const double ob) <sortie-public-sortie-ref-sortie-operator-const-double-ob>`
[Sortie & Sortie::operator<<(const double ob)](#sortie-public-sortie-ref-sortie-operator-const-double-ob)

operator<<#

Definition
Sortie & Sortie::operator<<(const float ob)
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 & Sortie::operator<<(const float ob) <sortie-public-sortie-ref-sortie-operator-const-float-ob>`
[Sortie & Sortie::operator<<(const float ob)](#sortie-public-sortie-ref-sortie-operator-const-float-ob)

operator<<#

Definition
Sortie & Sortie::operator<<(const long long ob)
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 & Sortie::operator<<(const long long ob) <sortie-public-sortie-ref-sortie-operator-const-long-long-ob>`
[Sortie & Sortie::operator<<(const long long ob)](#sortie-public-sortie-ref-sortie-operator-const-long-long-ob)

operator<<#

Definition
Sortie & Sortie::operator<<(const long ob)
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 & Sortie::operator<<(const long ob) <sortie-public-sortie-ref-sortie-operator-const-long-ob>`
[Sortie & Sortie::operator<<(const long ob)](#sortie-public-sortie-ref-sortie-operator-const-long-ob)

operator<<#

Definition
Sortie & Sortie::operator<<(const Objet_U &ob)
Brief description

Ecriture d’un objet ou d’une variable.

Detailed description

Dans cette implementation (et dans la plupart des classes derivees) on appelle simplement ob.printOn (a l’exception de Sortie_Nulle ) Attention, si on veut que le flux puisse etre indifferemment ASCII ou BINAIRE, il faut inserer “<<space <<” ou “<<finl <<” pour separer les objets.

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 & Sortie::operator<<(const Objet_U &ob) <sortie-public-sortie-ref-sortie-operator-const-objet-u-ref-ob>`
[Sortie & Sortie::operator<<(const Objet_U &ob)](#sortie-public-sortie-ref-sortie-operator-const-objet-u-ref-ob)

operator<<#

Definition
Sortie & Sortie::operator<<(const Separateur &)
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 & Sortie::operator<<(const Separateur &) <sortie-public-sortie-ref-sortie-operator-const-separateur-ref>`
[Sortie & Sortie::operator<<(const Separateur &)](#sortie-public-sortie-ref-sortie-operator-const-separateur-ref)

operator<<#

Definition
Sortie & Sortie::operator<<(const std::string &str)
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 & Sortie::operator<<(const std::string &str) <sortie-public-sortie-ref-sortie-operator-const-std-string-ref-str>`
[Sortie & Sortie::operator<<(const std::string &str)](#sortie-public-sortie-ref-sortie-operator-const-std-string-ref-str)

operator<<#

Definition
Sortie & Sortie::operator<<(const True_int ob)
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 & Sortie::operator<<(const True_int ob) <sortie-public-sortie-ref-sortie-operator-const-true-int-ob>`
[Sortie & Sortie::operator<<(const True_int ob)](#sortie-public-sortie-ref-sortie-operator-const-true-int-ob)

operator<<#

Definition
Sortie & Sortie::operator<<(const TRUST_Ref< T > &)
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 & Sortie::operator<<(const TRUST_Ref< T > &) <sortie-public-sortie-ref-sortie-operator-const-trust-ref-t-ref>`
[Sortie & Sortie::operator<<(const TRUST_Ref< T > &)](#sortie-public-sortie-ref-sortie-operator-const-trust-ref-t-ref)

operator<<#

Definition
Sortie & Sortie::operator<<(const TRUST_Ref_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 & Sortie::operator<<(const TRUST_Ref_Objet_U &) <sortie-public-sortie-ref-sortie-operator-const-trust-ref-objet-u-ref>`
[Sortie & Sortie::operator<<(const TRUST_Ref_Objet_U &)](#sortie-public-sortie-ref-sortie-operator-const-trust-ref-objet-u-ref)

operator<<#

Definition
Sortie & Sortie::operator<<(const unsigned long ob)
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 & Sortie::operator<<(const unsigned long ob) <sortie-public-sortie-ref-sortie-operator-const-unsigned-long-ob>`
[Sortie & Sortie::operator<<(const unsigned long ob)](#sortie-public-sortie-ref-sortie-operator-const-unsigned-long-ob)

operator<<#

Definition
Sortie & Sortie::operator<<(const unsigned ob)
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 & Sortie::operator<<(const unsigned ob) <sortie-public-sortie-ref-sortie-operator-const-unsigned-ob>`
[Sortie & Sortie::operator<<(const unsigned ob)](#sortie-public-sortie-ref-sortie-operator-const-unsigned-ob)

operator<<#

Definition
Sortie & Sortie::operator<<(ios &(*f)(ios &))
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 & Sortie::operator<<(ios &(*f)(ios &)) <sortie-public-sortie-ref-sortie-operator-ios-ref-ptr-f-ios-ref>`
[Sortie & Sortie::operator<<(ios &(*f)(ios &))](#sortie-public-sortie-ref-sortie-operator-ios-ref-ptr-f-ios-ref)

operator<<#

Definition
Sortie & Sortie::operator<<(ostream &(*f)(ostream &))
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 & Sortie::operator<<(ostream &(*f)(ostream &)) <sortie-public-sortie-ref-sortie-operator-ostream-ref-ptr-f-ostream-ref>`
[Sortie & Sortie::operator<<(ostream &(*f)(ostream &))](#sortie-public-sortie-ref-sortie-operator-ostream-ref-ptr-f-ostream-ref)

operator<<#

Definition
Sortie & Sortie::operator<<(Sortie &(*f)(Sortie &))
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 & Sortie::operator<<(Sortie &(*f)(Sortie &)) <sortie-public-sortie-ref-sortie-operator-sortie-ref-ptr-f-sortie-ref>`
[Sortie & Sortie::operator<<(Sortie &(*f)(Sortie &))](#sortie-public-sortie-ref-sortie-operator-sortie-ref-ptr-f-sortie-ref)

operator =#

Definition
Sortie & Sortie::operator=(ostream &os)
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 & Sortie::operator=(ostream &os) <sortie-public-sortie-ref-sortie-operator-equal-ostream-ref-os>`
[Sortie & Sortie::operator=(ostream &os)](#sortie-public-sortie-ref-sortie-operator-equal-ostream-ref-os)

operator =#

Definition
Sortie & Sortie::operator=(Sortie &os)
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 & Sortie::operator=(Sortie &os) <sortie-public-sortie-ref-sortie-operator-equal-sortie-ref-os>`
[Sortie & Sortie::operator=(Sortie &os)](#sortie-public-sortie-ref-sortie-operator-equal-sortie-ref-os)

precision#

Definition
void Sortie::precision(int)
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::precision(int) <sortie-public-void-sortie-precision-int>`
[void Sortie::precision(int)](#sortie-public-void-sortie-precision-int)

put#

Definition
int Sortie::put(const double *ob, std::streamsize n, std::streamsize nb_colonnes=1)
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::put(const double *ob, std::streamsize n, std::streamsize nb_colonnes=1) <sortie-public-int-sortie-put-const-double-ptr-ob-std-streamsize-n-std-streamsize-nb-colonnes-equal-1>`
[int Sortie::put(const double *ob, std::streamsize n, std::streamsize nb_colonnes=1)](#sortie-public-int-sortie-put-const-double-ptr-ob-std-streamsize-n-std-streamsize-nb-colonnes-equal-1)

put#

Definition
int Sortie::put(const float *ob, std::streamsize n, std::streamsize nb_colonnes=1)
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::put(const float *ob, std::streamsize n, std::streamsize nb_colonnes=1) <sortie-public-int-sortie-put-const-float-ptr-ob-std-streamsize-n-std-streamsize-nb-colonnes-equal-1>`
[int Sortie::put(const float *ob, std::streamsize n, std::streamsize nb_colonnes=1)](#sortie-public-int-sortie-put-const-float-ptr-ob-std-streamsize-n-std-streamsize-nb-colonnes-equal-1)

put#

Definition
int Sortie::put(const long *ob, std::streamsize n, std::streamsize nb_colonnes=1)
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::put(const long *ob, std::streamsize n, std::streamsize nb_colonnes=1) <sortie-public-int-sortie-put-const-long-ptr-ob-std-streamsize-n-std-streamsize-nb-colonnes-equal-1>`
[int Sortie::put(const long *ob, std::streamsize n, std::streamsize nb_colonnes=1)](#sortie-public-int-sortie-put-const-long-ptr-ob-std-streamsize-n-std-streamsize-nb-colonnes-equal-1)

put#

Definition
int Sortie::put(const long long *ob, std::streamsize n, std::streamsize nb_colonnes=1)
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::put(const long long *ob, std::streamsize n, std::streamsize nb_colonnes=1) <sortie-public-int-sortie-put-const-long-long-ptr-ob-std-streamsize-n-std-streamsize-nb-colonnes-equal-1>`
[int Sortie::put(const long long *ob, std::streamsize n, std::streamsize nb_colonnes=1)](#sortie-public-int-sortie-put-const-long-long-ptr-ob-std-streamsize-n-std-streamsize-nb-colonnes-equal-1)

put#

Definition
int Sortie::put(const True_int *ob, std::streamsize n, std::streamsize nb_colonnes=1)
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::put(const True_int *ob, std::streamsize n, std::streamsize nb_colonnes=1) <sortie-public-int-sortie-put-const-true-int-ptr-ob-std-streamsize-n-std-streamsize-nb-colonnes-equal-1>`
[int Sortie::put(const True_int *ob, std::streamsize n, std::streamsize nb_colonnes=1)](#sortie-public-int-sortie-put-const-true-int-ptr-ob-std-streamsize-n-std-streamsize-nb-colonnes-equal-1)

put#

Definition
int Sortie::put(const unsigned *ob, std::streamsize n, std::streamsize nb_colonnes=1)
Brief description
Detailed description
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::put(const unsigned *ob, std::streamsize n, std::streamsize nb_colonnes=1) <sortie-public-int-sortie-put-const-unsigned-ptr-ob-std-streamsize-n-std-streamsize-nb-colonnes-equal-1>`
[int Sortie::put(const unsigned *ob, std::streamsize n, std::streamsize nb_colonnes=1)](#sortie-public-int-sortie-put-const-unsigned-ptr-ob-std-streamsize-n-std-streamsize-nb-colonnes-equal-1)

set_bin#

Definition
void Sortie::set_bin(bool bin) override
Brief description

Change le mode d’ecriture du fichier.

Detailed description

Cette methode peut etre appelee n’importe quand. Attention cependant pour les fichiers Ecrire_Fichier_Partage : il faut faire le changement uniquement au debut de l’ecriture d’un bloc, juste apres syncfile() (sinon, mauvaise traduction des retours a la ligne lors du syncfile suivant).

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::set_bin(bool bin) override <sortie-public-void-sortie-set-bin-bool-bin-override>`
[void Sortie::set_bin(bool bin) override](#sortie-public-void-sortie-set-bin-bool-bin-override)

set_col_width#

Definition
void Sortie::set_col_width(int w)
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::set_col_width(int w) <sortie-public-void-sortie-set-col-width-int-w>`
[void Sortie::set_col_width(int w)](#sortie-public-void-sortie-set-col-width-int-w)

setf#

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

Sortie#

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

Sortie#

Definition
Sortie::Sortie(const Sortie &os)
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::Sortie(const Sortie &os) <sortie-public-sortie-sortie-const-sortie-ref-os>`
[Sortie::Sortie(const Sortie &os)](#sortie-public-sortie-sortie-const-sortie-ref-os)

Sortie#

Definition
Sortie::Sortie(ostream &os)
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::Sortie(ostream &os) <sortie-public-sortie-sortie-ostream-ref-os>`
[Sortie::Sortie(ostream &os)](#sortie-public-sortie-sortie-ostream-ref-os)

syncfile#

Definition
Sortie & Sortie::syncfile()
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:`Sortie & Sortie::syncfile() <sortie-public-sortie-ref-sortie-syncfile>`
[Sortie & Sortie::syncfile()](#sortie-public-sortie-ref-sortie-syncfile)

unlockfile#

Definition
Sortie & Sortie::unlockfile()
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 & Sortie::unlockfile() <sortie-public-sortie-ref-sortie-unlockfile>`
[Sortie & Sortie::unlockfile()](#sortie-public-sortie-ref-sortie-unlockfile)

~Sortie#

Definition
virtual Sortie::~Sortie()
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:`virtual Sortie::~Sortie() <sortie-public-virtual-sortie-dtor-sortie>`
[virtual Sortie::~Sortie()](#sortie-public-virtual-sortie-dtor-sortie)

operator_template#

Definition
template Sortie & Sortie::operator_template(const _TYPE_ &)
Brief description

Methode de bas niveau pour ecrire un int ou flottant dans le stream.

Detailed description

Dans l’implementation de la classe de base, on ecrit dans ostream_. En binaire on utilise ostream::write(), en ascii ostream::operator<<()

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:`template Sortie & Sortie::operator_template(const _TYPE_ &) <sortie-private-template-sortie-ref-sortie-operator-template-const-type-ref>`
[template Sortie & Sortie::operator_template(const _TYPE_ &)](#sortie-private-template-sortie-ref-sortie-operator-template-const-type-ref)

put_template#

Definition
template int Sortie::put_template(const _TYPE_ *ob, std::streamsize n, std::streamsize nb_col)
Brief description

Methode de bas niveau pour ecrire un tableau d’ints ou reels dans le stream.

Detailed description

Dans l’implementation de la classe de base, on ecrit dans ostream_. En binaire on utilise ostream::write(), en ascii ostream::operato<<() En ascii, on revient a la ligne chaque fois qu’on a ecrit “nb_col” valeurs et a la fin du tableau. Valeur de retour : ostream_ - >good()

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:`template int Sortie::put_template(const _TYPE_ *ob, std::streamsize n, std::streamsize nb_col) <sortie-private-template-int-sortie-put-template-const-type-ptr-ob-std-streamsize-n-std-streamsize-nb-col>`
[template int Sortie::put_template(const _TYPE_ *ob, std::streamsize n, std::streamsize nb_col)](#sortie-private-template-int-sortie-put-template-const-type-ptr-ob-std-streamsize-n-std-streamsize-nb-col)

Attributes Documentation#

col_width_ (protected)
int Sortie::col_width_
ostream_ (protected)
std::unique_ptr<ostream> Sortie::ostream_

A smart pointer to a std::ostream object, or any of its derived class. Explicit construction might be done in derived classes of Sortie .