37 Nom instruction,suite;
39 if (instruction[0]!=
'"')
41 Cerr<<
"In System, instruction should begin by \""<<finl;
42 Cerr<<
"instruction beginning "<<instruction;
46 while(instruction[instruction.
longueur()-2]!=
'"')
58 Cerr<<
"Shell command executed: " << instruction<<finl;
59 int error = system(instruction);
62 Cerr <<
"The shell command returns an error: " << error << finl;
63 Cerr <<
"Check your data file." << finl;
Class defining operators and methods for all reading operation in an input flow (file,...
Base class for "interpreter" objects.
class Nom: a character string for naming TRUST objects.
int longueur() const
Returns the number of characters in the Nom string, including the null terminator.
Nom & prefix(const char *const)
Nom & suffix(const char *const)
Suffix extraction: Nom x("azerty");.
const Nom & que_suis_je() const
Returns the string identifying the class.
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 void barrier()
Synchronizes all processors in the current group (waits until all processors have reached the barrier...
static void exit(int exit_code=-1)
Exit routine for TRUST within a Kokkos region.
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.
Entree & interpreter(Entree &) override