16#include <LecFicDistribue.h>
17#include <communications.h>
32LecFicDistribue::LecFicDistribue(
int)
36LecFicDistribue::LecFicDistribue():
EFichier()
38LecFicDistribue::~LecFicDistribue()
51LecFicDistribue::LecFicDistribue(
const char* name, IOS_OPEN_MODE mode)
70#ifdef FILESYSTEM_NON_GLOBAL
74 envoyer_broadcast(localisation, 0);
76 nom_fic = localisation +
"/" + nom_fic;
81 Cerr <<
"File " << nom_fic <<
" not found or could not be opened." << finl;
bool bin_
Is this a binary flux?
File for reading. This class is to the C++ ifstream class what the Entree class is to the.
virtual int ouvrir(const char *name, IOS_OPEN_MODE mode=ios::in)
Class defining operators and methods for all reading operation in an input flow (file,...
This class implements the operators and virtual methods of the EFichier class as follows: there are a...
int ouvrir(const char *name, IOS_OPEN_MODE mode=ios::in) override
Opens the file with the given mode and prot parameters. These parameters are the parameters of the st...
class Nom: a character string for naming TRUST objects.
Nom nom_me(int, const char *prefix=0, int without_padding=0) const
Inserts _prefix000n (n=me() or nproc()) into a file name (e.g. toto.titi) to produce toto_prefix000n....
virtual Entree & readOn(Entree &)
Reads an Objet_U from an input stream. Virtual method to override.
virtual Sortie & printOn(Sortie &) const
Writes the object to an output stream. Virtual method to override.
static bool is_parallel()
static Sortie & Journal(int message_level=0)
Returns a static Sortie object used as an event journal.
static int me()
Returns the rank of the local processor in the current communication group. See Comm_Group::rank() an...
static int je_suis_maitre()
Returns 1 if on the master processor of the current group (i.e. me() == 0), 0 otherwise.
Base class for output streams.