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

constructeurs de copie

File:
1 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>
Note: See TracChangeset for help on using the changeset viewer.