template<class F>
OffVec& OffVec< F >::operator= const OffVec< F > &  C  )  [inline]
 

Definition at line 57 of file offvec.hpp.

00057                                       {
00058          if(_owndata) { 
00059                 if(_m>0) { delete[] _data; _data = NULL; }
00060          }
00061          _m=C._m; _s=C._s; _owndata=C._owndata;
00062          if(_owndata) {
00063                 if(_m>0) { _data = new F[_m]; assert(_data!=NULL); memset(_data, 0, _m*sizeof(F)); } else _data=NULL;
00064                 if(_m>0) memcpy( _data, C._data, _m*sizeof(F) );
00065          } else {
00066                 _data =C._data;
00067          }
00068          return *this;
00069   }


Generated on Sun Dec 4 18:13:14 2005 for common by  doxygen 1.4.5