Ignore:
Timestamp:
Apr 7, 2000, 5:49:47 PM (25 years ago)
Author:
ansari
Message:

FIO en fichiers separes

File:
1 edited

Legend:

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

    r764 r840  
    88#include "anydataobj.h"
    99#include "ppersist.h"
     10
     11namespace SOPHYA {
     12
     13
    1014
    1115template <class T>
     
    141145    a vector containing the corresponding values of pixels
    142146*/
    143 void GetThetaSlice(int_4 index,r_8& theta,TVector<r_8>& phi,TVector<T>& value) const;
     147virtual void GetThetaSlice(int_4 index,r_8& theta,TVector<r_8>& phi,TVector<T>& value) const;
    144148
    145149/*!   For a theta-slice with index 'index', return :
     
    155159    a vector containing the corresponding values of pixels
    156160*/
    157  void GetThetaSlice(int_4 index, r_8& theta, r_8& phi0,TVector<int_4>& pixelIndices, TVector<T>& value) const ;
     161virtual void GetThetaSlice(int_4 index, r_8& theta, r_8& phi0,TVector<int_4>& pixelIndices, TVector<T>& value) const ;
    158162
    159163
     
    165169// ------------- méthodes internes ----------------------         
    166170void InitNul();
    167 inline void setParameters(int nbpix, double omega, int nbThetaIndex)
     171inline void setParameters( int nbThetaIndex, int nbpix, double omega)
    168172  {
    169173    NPix_= nbpix;
     
    183187};
    184188
    185 // ------------- Classe pour la gestion de persistance --
    186 template <class T>
    187 class FIO_SphereThetaPhi : public PPersist 
    188 {
    189 public:
    190189
    191 FIO_SphereThetaPhi();
    192 FIO_SphereThetaPhi(string const & filename);
    193 FIO_SphereThetaPhi(const SphereThetaPhi<T>& obj);
    194 FIO_SphereThetaPhi(SphereThetaPhi<T>* obj);
    195 virtual ~FIO_SphereThetaPhi();
    196 virtual AnyDataObj* DataObj();
    197 virtual void        SetDataObj(AnyDataObj & o);
    198 inline operator SphereThetaPhi<T>() { return(*dobj); }
    199190
    200 protected :
    201 
    202 virtual void ReadSelf(PInPersist&);           
    203 virtual void WriteSelf(POutPersist&) const; 
    204 SphereThetaPhi<T>* dobj;
    205 bool ownobj;
    206 };
     191} // Fin du namespace
    207192
    208193#endif
Note: See TracChangeset for help on using the changeset viewer.