Changeset 2479 in Sophya for trunk/SophyaLib/SkyT


Ignore:
Timestamp:
Dec 7, 2003, 12:59:21 AM (22 years ago)
Author:
ansari
Message:

Ajout SkipToNextObjet() ds PInPersist operator >> - Reza 7 Dec 2003

Location:
trunk/SophyaLib/SkyT
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/SkyT/gaussfilt.h

    r830 r2479  
    22//--------------------------------------------------------------------------
    33// File and Version Information:
    4 //      $Id: gaussfilt.h,v 1.5 2000-04-06 17:09:39 ansari Exp $
     4//      $Id: gaussfilt.h,v 1.6 2003-12-06 23:59:21 ansari Exp $
    55//
    66// Description:
     
    6767    { ObjFileIO<GaussianFilter> fio(&obj); fio.Write(os); return(os);}
    6868 
    69   inline PInPersist& operator >> (PInPersist& os, GaussianFilter & obj)
    70     { ObjFileIO<GaussianFilter> fio(&obj); fio.Read(os); return(os);}
     69  inline PInPersist& operator >> (PInPersist& is, GaussianFilter & obj)
     70    { ObjFileIO<GaussianFilter> fio(&obj); is.SkipToNextObject(); fio.Read(is); return(is);}
    7171
    7272}  // End of namespace
  • trunk/SophyaLib/SkyT/specrespvector.h

    r2322 r2479  
    22//--------------------------------------------------------------------------
    33// File and Version Information:
    4 //      $Id: specrespvector.h,v 1.6 2003-02-11 15:31:07 cmv Exp $
     4//      $Id: specrespvector.h,v 1.7 2003-12-06 23:59:21 ansari Exp $
    55//
    66// Description:
     
    7070    { ObjFileIO<SpecRespVec> fio(&obj); fio.Write(os); return(os);}
    7171 
    72   inline PInPersist& operator >> (PInPersist& os, SpecRespVec & obj)
    73     { ObjFileIO<SpecRespVec> fio(&obj); fio.Read(os); return(os);}
     72  inline PInPersist& operator >> (PInPersist& is, SpecRespVec & obj)
     73    { ObjFileIO<SpecRespVec> fio(&obj); is.SkipToNextObject(); fio.Read(is); return(is);}
    7474
    7575}  // End of namespace
Note: See TracChangeset for help on using the changeset viewer.