Fichier_Lata#
#include <Fichier_Lata.h>
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:`Fichier\_Lata <class-fichier-lata>`
[Fichier\_Lata](#class-fichier-lata)
Detailed description#
Inherited by#
public : Fichier_Lata_maitre
Inheritance graph#
If the image is too small, right-click and open in new tab
List of Public Methods#
Complete Member Function Documentation#
Fichier_Lata#
Fichier_Lata::Fichier_Lata(const char *basename, const char *extension, Mode mode_append, Format_Post_Lata::Format format, Format_Post_Lata::Options_Para parallel)
Construit un fichier de type EcrFicPartage(Bin) ou EcrFicPrive(Bin), binaire ou pas selon le parametre “format”.
Detailed description
Si parallel = = MULTIPLE_FILES, le fichier est de type EcrFicPrive(Bin). Dans ce cas, chaque processeur ouvre un fichier different, dont le nom est “basename_XXXXXextension”, ou XXXXX est egal a Process::me() . Tous les processeurs renverront is_master() = = 1. Si parallel = = SINGLE_FILE est non nul, le fichier est de type EcrFicPartage(Bin) . Seul le processeur maitre ouvre le fichier, le nom du fichier est “basenameextension”. is_master() renverra 1 sur le maitre, 0 sur les autres processeurs.
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:`Fichier_Lata::Fichier_Lata(const char *basename, const char *extension, Mode mode_append, Format_Post_Lata::Format format, Format_Post_Lata::Options_Para parallel) <fichier-lata-public-fichier-lata-fichier-lata-const-char-ptr-basename-const-char-ptr-extension-mode-mode-append-format-post-lata-format-format-format-post-lata-options-para-parallel>`
[Fichier_Lata::Fichier_Lata(const char *basename, const char *extension, Mode mode_append, Format_Post_Lata::Format format, Format_Post_Lata::Options_Para parallel)](#fichier-lata-public-fichier-lata-fichier-lata-const-char-ptr-basename-const-char-ptr-extension-mode-mode-append-format-post-lata-format-format-format-post-lata-options-para-parallel)
get_filename#
const Nom & Fichier_Lata::get_filename() const
Renvoie le nom du fichier avec le path.
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 Nom & Fichier_Lata::get_filename() const <fichier-lata-public-const-nom-ref-fichier-lata-get-filename-const>`
[const Nom & Fichier_Lata::get_filename() const](#fichier-lata-public-const-nom-ref-fichier-lata-get-filename-const)
get_SFichier#
SFichier & Fichier_Lata::get_SFichier()
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:`SFichier & Fichier_Lata::get_SFichier() <fichier-lata-public-sfichier-ref-fichier-lata-get-sfichier>`
[SFichier & Fichier_Lata::get_SFichier()](#fichier-lata-public-sfichier-ref-fichier-lata-get-sfichier)
is_master#
int Fichier_Lata::is_master() const
Si le fichier est de type partage, renvoie 1 si me() est egal au master du groupe et 0 sinon,.
Detailed description
Si le fichier est prive, renvoie 1 sur tous les processeurs.
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 Fichier_Lata::is_master() const <fichier-lata-public-int-fichier-lata-is-master-const>`
[int Fichier_Lata::is_master() const](#fichier-lata-public-int-fichier-lata-is-master-const)
syncfile#
void Fichier_Lata::syncfile()
Si le fichier est de type partage, appelle la methode syncfile() , sinon ne fait rien.
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 Fichier_Lata::syncfile() <fichier-lata-public-void-fichier-lata-syncfile>`
[void Fichier_Lata::syncfile()](#fichier-lata-public-void-fichier-lata-syncfile)
~Fichier_Lata#
Fichier_Lata::~Fichier_Lata()
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:`Fichier_Lata::~Fichier_Lata() <fichier-lata-public-fichier-lata-dtor-fichier-lata>`
[Fichier_Lata::~Fichier_Lata()](#fichier-lata-public-fichier-lata-dtor-fichier-lata)
Attributes Documentation#
SFichier* Fichier_Lata::fichier_
Nom Fichier_Lata::filename_
int Fichier_Lata::is_parallel_
Enums#
Fichier_Lata::Mode#
Location: trust-code/src/Kernel/Utilitaires/Fichier_Lata.h:32
How to cite in this doc: 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:`Fichier\_Lata::Mode <enum-none-fichier-lata-mode>`
[Fichier\_Lata::Mode](#enum-none-fichier-lata-mode)
ERASE
APPEND