16#include <TRUST_Deriv.h>
24TRUST_Deriv_Objet_U::~TRUST_Deriv_Objet_U() {
detach(); }
62 if (objet) pointeur_ = (
Objet_U*) objet;
63 else pointeur_ =
nullptr;
Class defining operators and methods for all reading operation in an input flow (file,...
virtual void set_Objet_U_ptr(Objet_U *)
Makes *this point to the object *ptr. The address may be null (null pointer).
void recopie(const Objet_U &)
Duplicates the Objet_U obj and then changes the pointer to this copy.
Objet_U_ptr(const Objet_U_ptr &)=delete
static const Type_info * info()
Returns type information for the Objet_U (static version).
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 int reprendre(Entree &)
Restores 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.
virtual int sauvegarder(Sortie &) const
Saves an Objet_U to an output stream. Virtual method to override.
Base class for output streams.
Class TRUST_Deriv_Objet_U is almost identical to TRUST_Deriv<Objet_U>, except that it does not contai...
int sauvegarder(Sortie &os) const override
Saves an Objet_U to an output stream. Virtual method to override.
int reprendre(Entree &is) override
Restores an Objet_U from an input stream. Virtual method to override.
const Type_info & get_info_ptr() const override
const Objet_U & valeur() const
const TRUST_Deriv_Objet_U & operator=(const Objet_U &t)
void deplace(TRUST_Deriv_Objet_U &deriv_obj)
void set_Objet_U_ptr(Objet_U *objet) override
Makes *this point to the object *ptr. The address may be null (null pointer).
Models type information for Objet_U objects.