template<class ArrayT, class Iterator>
Definition at line 17 of file MakeFromStl.h. References Impala::Core::Array::Element::E1Cast(). 00018 { 00019 if (dst == 0) 00020 { 00021 if (nrElem == 0) 00022 { 00023 CX_COUT << "MakeFromStl : need array or nrElem" << CX_ENDL; 00024 return; 00025 } 00026 dst = ArrayCreate<ArrayT>(nrElem, 1); 00027 } 00028 00029 typedef typename ArrayT::ArithType ArithT; 00030 ArithT* dataPtr = dst->CPB(0, 0); 00031 for (Iterator it=begin ; it!=end ; it++) 00032 *dataPtr++ = Element::E1Cast(*it, ArithT()); 00033 }
Here is the call graph for this function:
|