57 Cerr <<
"Reading problem in Associer" << finl;
62 int association12,association21;
70 Cerr <<
"Impossible to associate objects '" << ob1.
que_suis_je()
79 Cerr <<
"The medium " << ob2.
que_suis_je() <<
" \"" << nom2
80 <<
"\" can not be associated to the problem" << finl;
82 <<
"\" because it is already associated with another problem." << finl;
88 Cerr <<
"The medium " << ob1.
que_suis_je() <<
" \"" << nom1
89 <<
"\" can not be associated to the problem" << finl;
91 <<
"\" because it is already associated with another problem." << finl;
Associer class, Interprete that associates two objects obj1 and obj2:
Entree & interpreter(Entree &) override
Main function of the Associer interpreter: associate two objects.
Class defining operators and methods for all reading operation in an input flow (file,...
Base class for "interpreter" objects.
static Objet_U & objet(const Nom &)
See Interprete_bloc::objet_global(). BM: the Interprete class is not the best place for this.
class Nom: a character string for naming TRUST objects.
virtual int associer_(Objet_U &)
Associates the Objet_U with another Objet_U. Virtual method to override.
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.
Objet_U()
Default constructor: assigns a unique identifier to the object (object_id_) and registers the object ...
virtual Sortie & printOn(Sortie &) const
Writes the object to an output stream. Virtual method to override.
static void exit(int exit_code=-1)
Exit routine for TRUST within a Kokkos region.
Base class for output streams.