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

template<class BackInsertIterator>
void Impala::Persistency::File::ReadNative ( BackInsertIterator  bi  )  [inline]

Definition at line 113 of file File.h.

References Impala::Util::IOBuffer::Available(), Impala::EndianSwap(), GetReadBuffer(), Impala::Util::IOBuffer::Read(), and Impala::Util::IOBuffer::Valid().

00114     {
00115         typedef typename BackInsertIterator::container_type::value_type elem_type;
00116 
00117         IOBuffer* buf = GetReadBuffer();
00118         if (! (buf && buf->Valid()))
00119             return;
00120 
00121         while (buf->Available() > 0)
00122         {
00123             elem_type d;
00124             buf->Read(&d, sizeof(d));
00125             EndianSwap(&d);
00126             *bi++ = d;
00127         }
00128     }

Here is the call graph for this function:


Generated on Fri Mar 19 11:35:05 2010 for ImpalaSrc by  doxygen 1.5.1