16#include <Champ_Generique_Champ.h>
39void Champ_Generique_Champ::set_param(
Param& param)
const
46int Champ_Generique_Champ::lire_motcle_non_standard(
const Motcle& mot,
Entree& is)
59void Champ_Generique_Champ::mettre_a_jour(
double temps)
61 champ_->mettre_a_jour(temps);
75 return champ_.valeur();
: class Champ_Generique_Champ
Special field class that encapsulates a reference to a volume field of TRUST of type Champ_base.
virtual void set_ref_champ(const Champ_base &)
Associates the field and determines its localisation.
virtual const Champ_base & get_ref_champ_base() const
Returns the underlying champ_base.
int lire_motcle_non_standard(const Motcle &, Entree &) override
Reads non-simple-type parameters of an Objet_U from an input stream.
class Champ_base This class is the base of the fields hierarchy.
Class defining operators and methods for all reading operation in an input flow (file,...
A character string (Nom) in uppercase.
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.
Helper class to factorize the readOn method of Objet_U classes.
void ajouter(const char *keyword, const int *value, Param::Nature nat=Param::OPTIONAL)
Register an integer parameter.
void ajouter_non_std(const char *keyword, const Objet_U *value, Param::Nature nat=Param::OPTIONAL)
Register a keyword handled by Objet_U::lire_motcle_non_standard.
Base class for output streams.