37/** This template class extends the class "CMatrixTemplate" for storing "objects" at each matrix entry.
38 * This class allows a very efficient representation of sparse matrixes where each cell is an arbitrary C++ class,
39 * but its use must carefully observe the following rules:
40 * - The type in the template especialization MUST be a class with a proper default constructor.
41 * - Initially all entries are set to NULL pointers.
42 * - Pointers can be manually asigned, or automatically created through a call to "CMatrixTemplateObjects<T>::allocAllObjects"
43 * - Independently of how pointers are asigned, memory will be free by destroying objects for each non-NULL entry in the matrix. In some special situations, the user can indicate not to free those objects by calling "CMatrixTemplateObjects<T>::setDestroyBehavior", then it is up to the user to free the memory. In all cases the default behavior is to free the memory.
44 * - Asignament operator with matrixes will COPY THE POINTERS, thus a copy of objects is not performed.
45 * - WARNING: Objects are not deleted while shrinking the matrix by calling "setSize", thus please call ""CMatrixTemplateObjects<T>::freeAllObjects" or manually delete objects before shrinking.