template<class C1, class C2>
Definition at line 17 of file Equals.h. References ILOG_ERROR, and ILOG_VAR. Referenced by Impala::Core::Table::Equals(). 00018 { 00019 ILOG_VAR(Impala.Core.Column.Equals); 00020 if (nrElem > t2->Capacity()) 00021 { 00022 ILOG_ERROR("incompatible t2 range"); 00023 return false; 00024 } 00025 if (nrElem > t1->Capacity()) 00026 { 00027 ILOG_ERROR("incompatible t1 range"); 00028 return false; 00029 } 00030 00031 for (int i=0 ; i<nrElem ; i++) 00032 if(t1->Get(i) != t2->Get(i)) 00033 return false; 00034 00035 return true; 00036 }
|