Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

template<class ElemT>
ColumnTem& Impala::Core::Column::ColumnTem< ElemT >::operator= ( const ColumnTem< ElemT > &  c  )  [inline]

Assignment operator.

Definition at line 102 of file ColumnTem.h.

00103     {
00104         if (this != &c)
00105         {
00106             if (mCapacity != c.mCapacity)
00107             {
00108                 delete [] mData;
00109                 mCapacity = c.mCapacity;
00110                 mData = new ElemT[mCapacity];
00111             }
00112             for (int i=0 ; i<mCapacity ; i++)
00113                 mData[i] = c.mData[i];
00114         }
00115         return *this;
00116     }


Generated on Fri Mar 19 11:06:47 2010 for ImpalaSrc by  doxygen 1.5.1