Ignore:
Timestamp:
Feb 12, 2001, 6:11:37 PM (25 years ago)
Author:
ansari
Message:

Ajout operateur >> et << pour PPersist des LocalMap et SphericalMap - Reza 12/2/2001

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/SkyMap/fiospherehealpix.h

    r853 r1397  
    4141};
    4242
     43/*! \ingroup SkyMap \fn operator<<(POutPersist&,SphereHEALPix<T>&)
     44  \brief Write SphereHEALPix \b obj into POutPersist stream \b os */
     45template <class T>
     46inline POutPersist& operator << (POutPersist& os, SphereHEALPix<T> & obj)
     47{ FIO_SphereHEALPix<T> fio(&obj);  fio.Write(os);  return(os); }
     48
     49/*! \ingroup SkyMap \fn operator>>(PInPersist&,SphereHEALPix<T>&)
     50  \brief Read SphereHEALPix \b obj from PInPersist stream \b os */
     51template <class T>
     52inline PInPersist& operator >> (PInPersist& is, SphereHEALPix<T> & obj)
     53{ FIO_SphereHEALPix<T> fio(&obj);  fio.Read(is);  return(is); }
     54
    4355} // Fin du namespace
    4456
Note: See TracChangeset for help on using the changeset viewer.