template<class Iterator>
Definition at line 17 of file DatabaseWriteNative.h. References Impala::EndianSwap(), Impala::Util::Database::GetIOBuffer(), and Impala::Util::IOBuffer::Write(). Referenced by Impala::Core::Array::ImageArchiveFile::Init(), and Impala::Core::Array::WriteRawListVar(). 00018 { 00019 typedef typename Iterator::value_type elem_type; 00020 00021 IOBuffer* buf = db->GetIOBuffer(fileName, false, false, "tmp"); 00022 for (Iterator it=begin ; it!=end ; it++) 00023 { 00024 elem_type d = *it; 00025 EndianSwap(&d); 00026 buf->Write(&d, sizeof(d)); 00027 } 00028 delete buf; 00029 }
Here is the call graph for this function:
|