#include <Fichier_Lata.h>
Definition at line 29 of file Fichier_Lata.h.
◆ Mode
◆ Fichier_Lata()
Builds a file of type EcrFicPartage(Bin) or EcrFicPrive(Bin), binary or not depending on the "format" parameter.
If parallel==MULTIPLE_FILES, the file is of type EcrFicPrive(Bin). In this case, each processor opens a different file named "basename_XXXXXextension", where XXXXX equals Process::me(). All processors will return is_master() == 1. If parallel==SINGLE_FILE is non-zero, the file is of type EcrFicPartage(Bin). Only the master processor opens the file; the file name is "basenameextension". is_master() returns 1 on the master, 0 on other processors.
- Parameters
-
| (basename) | beginning of the file name |
| (extension) | end of the file name |
| (mode_append) | If mode_append==ERASE, opens in write mode; if mode_append==APPEND, opens in append mode. |
| (format) | Determines whether to open in binary mode or not. (possible values: Format_Post_Lata::ASCII or Format_Post_Lata::BINAIRE) |
| (parallel) | single shared file or multiple private files... |
Definition at line 37 of file Fichier_Lata.cpp.
◆ ~Fichier_Lata()
| Fichier_Lata::~Fichier_Lata |
( |
| ) |
|
|
virtual |
◆ get_filename()
| const Nom & Fichier_Lata::get_filename |
( |
| ) |
const |
|
virtual |
◆ get_SFichier()
| SFichier & Fichier_Lata::get_SFichier |
( |
| ) |
|
|
virtual |
◆ is_master()
| int Fichier_Lata::is_master |
( |
| ) |
const |
|
virtual |
If the file is of shared type, returns 1 if me() equals the group master, 0 otherwise.
If the file is private, returns 1 on all processors.
Definition at line 154 of file Fichier_Lata.cpp.
◆ syncfile()
| void Fichier_Lata::syncfile |
( |
| ) |
|
|
virtual |
◆ fichier_
◆ filename_
| Nom Fichier_Lata::filename_ |
|
protected |
◆ is_parallel_
| int Fichier_Lata::is_parallel_ |
|
protected |
The documentation for this class was generated from the following files: