Fichier_Lata#

#include <Fichier_Lata.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:`Fichier\_Lata <class-fichier-lata>`
[Fichier\_Lata](#class-fichier-lata)

Detailed description#

Inherited by#

Inheritance graph#

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

../../../../../_images/classFichier__Lata__inherit__graph.png

List of Public Methods#

Complete Member Function Documentation#

Fichier_Lata#

Definition
Fichier_Lata::Fichier_Lata(const char *basename, const char *extension, Mode mode_append, Format_Post_Lata::Format format, Format_Post_Lata::Options_Para parallel)
Brief description

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#

Definition
const Nom & Fichier_Lata::get_filename() const
Brief description

Renvoie le nom du fichier avec le path.

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:`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#

Definition
SFichier & Fichier_Lata::get_SFichier()
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:`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#

Definition
int Fichier_Lata::is_master() const
Brief description

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#

Definition
void Fichier_Lata::syncfile()
Brief description

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#

Definition
Fichier_Lata::~Fichier_Lata()
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:`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#

fichier_ (protected)
SFichier* Fichier_Lata::fichier_
filename_ (protected)
Nom Fichier_Lata::filename_
is_parallel_ (protected)
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