Changeset 906 in Sophya for trunk/SophyaLib/SkyMap


Ignore:
Timestamp:
Apr 13, 2000, 12:22:26 PM (25 years ago)
Author:
ansari
Message:

constructeurs de copie

Location:
trunk/SophyaLib/SkyMap
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/SkyMap/spherehealpix.cc

    r892 r906  
    228228  omeg_ = s.omeg_;
    229229}
     230//++
     231template<class T>
     232SphereHEALPix<T>::SphereHEALPix(const SphereHEALPix<T>& s)
     233  : pixels_(s.pixels_), sliceBeginIndex_(s.sliceBeginIndex_),
     234                                sliceLenght_(s.sliceLenght_)
     235//    copy constructor
     236//--
     237{
     238  if(s.mInfo_) mInfo_= new DVList(*s.mInfo_);
     239
     240  nSide_= s.nSide_;
     241  nPix_ = s.nPix_;
     242  omeg_ = s.omeg_;
     243}
    230244
    231245template<class T>
  • trunk/SophyaLib/SkyMap/spherehealpix.h

    r892 r906  
    7979*/
    8080SphereHEALPix(int_4 m);
    81 SphereHEALPix(const SphereHEALPix<T>& s, bool share=false);
     81SphereHEALPix(const SphereHEALPix<T>& s, bool share);
     82SphereHEALPix(const SphereHEALPix<T>& s);
    8283//!     Destructor
    8384virtual ~SphereHEALPix();
Note: See TracChangeset for help on using the changeset viewer.