template<class F>
OffVec< F >::OffVec int  m,
int  s,
bool  owndata,
F *  data
[inline]
 

Definition at line 36 of file offvec.hpp.

00036                                              : _m(m), _s(s), _owndata(owndata) {
00037          if(_owndata) {
00038                 if(_m>0) { _data = new F[_m]; assert(_data!=NULL); memset(_data, 0, _m*sizeof(F)); } else _data=NULL;
00039                 if(_m>0) memcpy( _data, data, _m*sizeof(F) );
00040          } else {
00041                 _data = data;
00042          }
00043   }


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