template<class BackInsertIterator>
Definition at line 18 of file DatabaseReadNative.h. References Impala::Util::IOBuffer::Available(), Impala::EndianSwap(), Impala::Util::IOBuffer::Read(), and Impala::Util::IOBuffer::Valid(). Referenced by Impala::Core::Array::ImageArchiveFile::Init(). 00019 { 00020 typedef typename BackInsertIterator::container_type::value_type elem_type; 00021 00022 if (! (buf && buf->Valid())) 00023 return; 00024 00025 while (buf->Available() > 0) 00026 { 00027 elem_type d; 00028 buf->Read(&d, sizeof(d)); 00029 EndianSwap(&d); 00030 *bi++ = d; 00031 } 00032 }
Here is the call graph for this function:
|