Changeset 894 in Sophya for trunk/SophyaLib/TArray/fioarr.h
- Timestamp:
- Apr 12, 2000, 7:42:33 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/TArray/fioarr.h
r804 r894 15 15 namespace SOPHYA { 16 16 ///////////////////////////////////////////////////////////////////////// 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 */ 18 22 template <class T> 19 23 class FIO_TArray : public PPersist { … … 30 34 virtual void ReadSelf(PInPersist&); 31 35 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 34 38 }; 35 39 40 //! Write TArray \b obj into POutPersist stream \b os 36 41 template <class T> 37 42 inline POutPersist& operator << (POutPersist& os, TArray<T> & obj) 38 43 { FIO_TArray<T> fio(&obj); fio.Write(os); return(os); } 44 45 //! Read TArray \b obj from PInPersist stream \b os 39 46 template <class T> 40 47 inline PInPersist& operator >> (PInPersist& is, TArray<T> & obj)
Note:
See TracChangeset
for help on using the changeset viewer.