Changeset 894 in Sophya for trunk/SophyaLib/TArray/fioarr.h


Ignore:
Timestamp:
Apr 12, 2000, 7:42:33 PM (25 years ago)
Author:
ansari
Message:

documentation cmv 12/4/00

File:
1 edited

Legend:

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

    r804 r894  
    1515namespace SOPHYA {
    1616/////////////////////////////////////////////////////////////////////////
    17 // Classe pour la gestion de persistance
     17//! Class for persistent management of TArray
     18/*!
     19  This class manage also persistence for TMatrix and TVector.
     20  \sa TArray TMatrix TVector.
     21 */
    1822template <class T>
    1923class FIO_TArray : public  PPersist  {
     
    3034  virtual void ReadSelf(PInPersist&);           
    3135  virtual void WriteSelf(POutPersist&) const; 
    32   TArray<T> * dobj;
    33   bool ownobj;
     36  TArray<T> * dobj; //!< Pointer to the connected TArray
     37  bool ownobj; //!< true if the connected object belong to the class
    3438};
    3539
     40//! Write TArray \b obj into POutPersist stream \b os
    3641template <class T>
    3742inline POutPersist& operator << (POutPersist& os, TArray<T> & obj)
    3843{ FIO_TArray<T> fio(&obj);  fio.Write(os);  return(os); }
     44
     45//! Read TArray \b obj from PInPersist stream \b os
    3946template <class T>
    4047inline PInPersist& operator >> (PInPersist& is, TArray<T> & obj)
Note: See TracChangeset for help on using the changeset viewer.