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

template<class C1, class C2>
void Impala::Core::Column::Copy ( C1 *  dst,
C2 *  src,
int  nrElem,
int  dstStart,
int  srcStart 
) [inline]

Definition at line 17 of file Copy.h.

References ILOG_ERROR, and ILOG_VAR.

Referenced by Copy().

00018 {
00019     ILOG_VAR(Impala.Core.Column.Copy);
00020     if (srcStart + nrElem > src->Capacity())
00021     {
00022         ILOG_ERROR("Incompatible src range");
00023         return;
00024     }
00025     if (dstStart + nrElem > dst->Capacity())
00026     {
00027         ILOG_ERROR("Incompatible dst range");
00028         return;
00029     }
00030 
00031     for (int i=0 ; i<nrElem ; i++)
00032         dst->Set(dstStart + i, src->Get(srcStart + i));
00033 }


Generated on Thu Jan 13 09:18:47 2011 for ImpalaSrc by  doxygen 1.5.1