|
TRUST 1.9.8
HPC thermohydraulic platform
|
Classe derivee de Sortie qui ne sort les donnees nulle part (c'est une poubelle) Classe utilisee dans le Journal() si celui-ci est desactive. More...
#include <Sortie_Nulle.h>
Public Member Functions | |
| Sortie & | flush () override |
| void | setf (IOS_FORMAT) override |
| void | precision (int) override |
| Sortie & | operator<< (const Separateur &ob) override |
| Sortie & | operator<< (const Objet_U &ob) override |
| Ecriture d'un objet ou d'une variable. | |
| Sortie & | operator<< (const std::string &str) override |
| Sortie & | operator<< (const int ob) override |
| Sortie & | operator<< (const unsigned ob) override |
| Sortie & | operator<< (const float ob) override |
| Sortie & | operator<< (const double ob) override |
| Sortie & | operator<< (const char *ob) override |
| Ecriture d'une chaine de caracteres. | |
| Sortie & | operator<< (const long ob) override |
| Sortie & | operator<< (const long long ob) override |
| Sortie & | operator<< (const unsigned long ob) override |
| int | put (const unsigned *ob, std::streamsize n, std::streamsize pas=1) override |
| int | put (const int *ob, std::streamsize n, std::streamsize pas=1) override |
| int | put (const long *ob, std::streamsize n, std::streamsize pas=1) override |
| int | put (const long long *ob, std::streamsize n, std::streamsize pas=1) override |
| int | put (const float *ob, std::streamsize n, std::streamsize pas=1) override |
| int | put (const double *ob, std::streamsize n, std::streamsize pas=1) override |
| Public Member Functions inherited from Sortie | |
| Sortie () | |
| Sortie (ostream &os) | |
| Sortie (const Sortie &os) | |
| virtual | ~Sortie () |
| Sortie & | operator= (ostream &os) |
| Sortie & | operator= (Sortie &os) |
| void | set_bin (bool bin) override |
| Change le mode d'ecriture du fichier. | |
| ostream & | get_ostream () |
| const ostream & | get_ostream () const |
| void | set_col_width (int w) |
| Sortie & | operator<< (ostream &(*f)(ostream &)) |
| Sortie & | operator<< (Sortie &(*f)(Sortie &)) |
| Sortie & | operator<< (ios &(*f)(ios &)) |
| virtual Sortie & | lockfile () |
| virtual Sortie & | unlockfile () |
| virtual Sortie & | syncfile () |
| template<typename T> | |
| Sortie & | operator<< (const TRUST_Ref< T > &) |
| Sortie & | operator<< (const TRUST_Ref_Objet_U &) |
| virtual int | add_col (const double ob) |
| virtual int | add_col (const char *ob) |
| bool | has_ostream () const |
| Public Member Functions inherited from AbstractIO | |
| bool | is_64b () const |
| virtual void | set_64b (bool is_64b) |
| bool | is_bin () |
| void | set_avoid_conversion (bool avoid) |
| bool | avoid_conversion () |
Additional Inherited Members | |
| Protected Member Functions inherited from AbstractIO | |
| AbstractIO () | |
| virtual | ~AbstractIO () |
| template<typename _TYPE_> | |
| bool | must_convert () const |
| Whether to convert an int into a long when reading/writing out data. | |
| Protected Attributes inherited from Sortie | |
| int | col_width_ |
| std::unique_ptr< ostream > | ostream_ |
| Protected Attributes inherited from AbstractIO | |
| bool | bin_ = false |
| Is this a binary flux? | |
| bool | is_64b_ |
| Will we be reading/writing in 64b? (Init in ctor to avoid including arch.h probably). | |
| bool | avoid_conversion_ = false |
Classe derivee de Sortie qui ne sort les donnees nulle part (c'est une poubelle) Classe utilisee dans le Journal() si celui-ci est desactive.
Le pointeur ostream_ est nul.
Definition at line 26 of file Sortie_Nulle.h.
|
inlineoverridevirtual |
Reimplemented from Sortie.
Definition at line 29 of file Sortie_Nulle.h.
|
inlineoverridevirtual |
Ecriture d'une chaine de caracteres.
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, ...)
Reimplemented from Sortie.
Definition at line 40 of file Sortie_Nulle.h.
|
inlineoverridevirtual |
Reimplemented from Sortie.
Definition at line 39 of file Sortie_Nulle.h.
|
inlineoverridevirtual |
Reimplemented from Sortie.
Definition at line 38 of file Sortie_Nulle.h.
|
inlineoverridevirtual |
Reimplemented from Sortie.
Definition at line 36 of file Sortie_Nulle.h.
|
inlineoverridevirtual |
Reimplemented from Sortie.
Definition at line 42 of file Sortie_Nulle.h.
|
inlineoverridevirtual |
Reimplemented from Sortie.
Definition at line 41 of file Sortie_Nulle.h.
Ecriture d'un objet ou d'une variable.
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.
Reimplemented from Sortie.
Definition at line 34 of file Sortie_Nulle.h.
|
inlineoverridevirtual |
Reimplemented from Sortie.
Definition at line 33 of file Sortie_Nulle.h.
|
inlineoverridevirtual |
Reimplemented from Sortie.
Definition at line 35 of file Sortie_Nulle.h.
|
inlineoverridevirtual |
Reimplemented from Sortie.
Definition at line 43 of file Sortie_Nulle.h.
|
inlineoverridevirtual |
Reimplemented from Sortie.
Definition at line 37 of file Sortie_Nulle.h.
|
inlineoverridevirtual |
Reimplemented from Sortie.
Definition at line 31 of file Sortie_Nulle.h.
|
inlineoverridevirtual |
Reimplemented from Sortie.
Definition at line 50 of file Sortie_Nulle.h.
|
inlineoverridevirtual |
Reimplemented from Sortie.
Definition at line 49 of file Sortie_Nulle.h.
|
inlineoverridevirtual |
Reimplemented from Sortie.
Definition at line 46 of file Sortie_Nulle.h.
|
inlineoverridevirtual |
Reimplemented from Sortie.
Definition at line 47 of file Sortie_Nulle.h.
|
inlineoverridevirtual |
Reimplemented from Sortie.
Definition at line 48 of file Sortie_Nulle.h.
|
inlineoverridevirtual |
Reimplemented from Sortie.
Definition at line 45 of file Sortie_Nulle.h.
|
inlineoverridevirtual |
Reimplemented from Sortie.
Definition at line 30 of file Sortie_Nulle.h.