Changeset 3173 in Sophya for trunk/SophyaLib/TArray/tarray.h


Ignore:
Timestamp:
Feb 5, 2007, 10:04:46 AM (19 years ago)
Author:
ansari
Message:

Ajout methodes TArray::ZeroSize() RenewObjId() - Reza 05/02/2007

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/TArray/tarray.h

    r2938 r3173  
    6767  void Realloc(int_4 ndim, sa_size_t * siz, sa_size_t step=1, bool force=false);
    6868
     69  //! To clear the array sizes - corresponding to an unallocated array.
     70  virtual TArray<T>& ZeroSize();
     71
    6972  // Compacts size=1 array dimensions
    7073  virtual TArray<T>& CompactAllDimensions();
     
    212215  virtual void   WriteASCII(ostream& os) const;
    213216
     217//! assign a new object Id (or DataRef Id) - useful for PPF write operations
     218  inline void RenewObjId() { mNDBlock.RenewObjId(); }
    214219//  Pour la gestion de persistance
    215220  friend class  FIO_TArray<T>;
Note: See TracChangeset for help on using the changeset viewer.