16#include <Typer_Lire.h>
17#include <Synonyme_info.h>
18#include <Interprete_bloc.h>
Class defining operators and methods for all reading operation in an input flow (file,...
Objet_U & ajouter(const Nom &nom, DerObjU &object_to_add)
Adds object ob to the interpreter's object list and names it with nom.
static Interprete_bloc & interprete_courant()
Returns the Interprete_bloc currently being read from the data set.
static Objet_U & objet(const Nom &)
See Interprete_bloc::objet_global(). BM: the Interprete class is not the best place for this.
static int objet_existant(const Nom &)
Returns 1 if the object exists, 0 otherwise. See Interprete_bloc::objet_global_existant().
Keyword to read an object, typically from a data file.
class Nom: a character string for naming TRUST objects.
Objet_U * typer(const char *nom_type)
Tries to create an instance of type "type".
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.
Base class for output streams.
Keyword to read an object, typically from a data file.
Entree & interpreter(Entree &) override
Read an object.