Changeset 489 in Sophya for trunk/SophyaLib


Ignore:
Timestamp:
Oct 21, 1999, 5:24:30 PM (26 years ago)
Author:
ansari
Message:

Definition d'operateur << >> pour PIOPersist Reza+cmv 21/10/99

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/BaseTools/ndatablock.h

    r289 r489  
    170170};
    171171
     172template <class T>
     173inline POutPersist& operator << (POutPersist& os, NDataBlock<T> & obj)
     174{ FIO_NDataBlock<T> fio(&obj);  fio.Write(os);  return(os); }
     175template <class T>
     176inline PInPersist& operator >> (PInPersist& is, NDataBlock<T> & obj)
     177{ FIO_NDataBlock<T> fio(&obj);  fio.Read(is);  return(is); }
     178
    172179} // Fin du namespace
    173180
Note: See TracChangeset for help on using the changeset viewer.