template<class C1, class C2>
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 }
|