Changeset 3837 in Sophya for trunk/SophyaLib
- Timestamp:
- Aug 9, 2010, 12:49:41 PM (15 years ago)
- Location:
- trunk/SophyaLib/TArray
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/TArray/fioarr.cc
r3751 r3837 19 19 \class FIO_TArray 20 20 \ingroup TArray 21 Class for persistent management of TArray 22 23 This class manage also persistence for TMatrix and TVector. 24 \sa TArray TMatrix TVector. 21 22 \brief Manager class the PPF I/O (SOPHYA persistence) of TArray<T> objects. 23 24 This class manages SOPHYA persistence (Read/Write in PPF format) for objects 25 of class TArray<T>, TMatrix<T> and TVector<T> 26 25 27 */ 26 28 /////////////////////////////////////////////////////////// … … 35 37 36 38 37 //! Constructor from the file \b filename 39 //! Constructor from the file \b filename - Reads the TArray object from the specified file. 38 40 template <class T> 39 41 FIO_TArray<T>::FIO_TArray(string const & filename) … … 73 75 } 74 76 75 //! Return pointer to the connected TArray77 //! Return the pointer to the connected TArray<T> object 76 78 template <class T> 77 79 AnyDataObj* FIO_TArray<T>::DataObj() … … 95 97 } 96 98 99 //! Reads in the TArray<T> object from the PPF input stream \b is 97 100 template <class T> 98 101 void FIO_TArray<T>::ReadSelf(PInPersist& is) … … 114 117 } 115 118 // On lit les tailles, etc ... 116 // On ecrit les tailles, etc ...117 119 int_4 tmpi4s[5]; 118 120 is.Get(tmpi4s, 5); … … 148 150 } 149 151 152 //! Writes the TArray<T> object to the output PPF stream \b os 150 153 template <class T> 151 154 void FIO_TArray<T>::WriteSelf(POutPersist& os) const … … 213 216 if (itab[2] != 0) os << dobj->Info(); 214 217 } 218 215 219 216 220 -
trunk/SophyaLib/TArray/fioarr.h
r2478 r3837 14 14 15 15 namespace SOPHYA { 16 ///////////////////////////////////////////////////////////////////////// 17 //! Class for persistent management of TArray 16 ///////////////////////////////////////////////////////////////////////// 17 // Gestionnaire PPF de TArray<T>, ainsi que TMatrix<T>/TVector<T> 18 ///////////////////////////////////////////////////////////////////////// 18 19 template <class T> 19 20 class FIO_TArray : public PPersist {
Note:
See TracChangeset
for help on using the changeset viewer.