16#ifndef Liste_bloc_included
17#define Liste_bloc_included
19#include <TRUST_Deriv.h>
26 Declare_instanciable_sans_constructeur_ni_destructeur(
Liste_bloc);
61 inline operator bool()
const {
return (curseur !=
nullptr); }
64 if (curseur->est_dernier()) curseur =
nullptr;
65 else curseur = &(curseur->suivant());
const Liste_bloc & list() const
Liste_bloc & operator=(const Liste_bloc &a_list)
const Objet_U & valeur() const
Liste_bloc_curseur(const Liste_bloc &a_list)
The Liste_bloc and Liste_bloc_curseur classes represent a list of Deriv<Objet_U> elements and an asso...
const Liste_bloc & suivant() const
Liste_bloc & dernier()
Returns the last element of the list.
Objet_U & operator[](int)
Access operator to the i-th element of the list.
const Objet_U & valeur() const
void vide()
Clears the list.
Objet_U & add_deplace(DerObjU &)
Adds an Objet_U to the list. to_add is released on exit.
Base class for TRUST objects (Objet_U).
Objet_U()
Default constructor: assigns a unique identifier to the object (object_id_) and registers the object ...