Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

template<class BackInsertIterator>
void Impala::Util::DatabaseReadNative ( BackInsertIterator  bi,
IOBuffer *  buf 
) [inline]

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:


Generated on Fri Mar 19 11:38:59 2010 for ImpalaSrc by  doxygen 1.5.1