24template <
typename _SIZE_>
34template <
typename _SIZE_>
44template <
typename _SIZE_>
54template <
typename _SIZE_>
57 assert(la_taille >= 0);
69template <
typename _SIZE_>
79 unsigned int * newdata =
new unsigned int[newsize];
80 int_t size_copy = (newsize > oldsize) ? oldsize : newsize;
83 memcpy(newdata,
data, size_copy);
100template <
typename _SIZE_>
112 data =
new unsigned int[newsize];
116 memcpy(
data, array.
data, newsize *
sizeof(
unsigned int));
122template <
typename _SIZE_>
125 unsigned int valeur = val ? (~((
unsigned int) 0)) : 0;
127 for (
int_t i = 0; i < size; i++)
138template <
typename _SIZE_>
142 os << taille << finl;
146 for (; i < taille; i++)
167template <
typename _SIZE_>
173 resize_array(newsize);
176 for (int_t i = 0; i < taille; i++)
int_t calculer_int_size(int_t taille) const
Size in "int" units of the array required to store a bit array of the given size.
ArrOfBit_32_64 & operator=(const ArrOfBit_32_64 &array)
Copy operator (deep copy).
static constexpr unsigned int DRAPEAUX_INT
ArrOfBit_32_64(int_t n=0)
Constructor for an array of size n, uninitialized.
ArrOfBit_32_64 & resize_array(int_t n)
Changes the size of the array and copies existing data.
static constexpr unsigned int SIZE_OF_INT_BITS
~ArrOfBit_32_64() override
Destructor.
Class defining operators and methods for all reading operation in an input flow (file,...
Base class for TRUST objects (Objet_U).
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.