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

template<class BackInsertIterator>
void Impala::Util::FileReadNative ( BackInsertIterator  bi,
String  fileName 
) [inline]

Definition at line 14 of file FileReadNative.h.

00015 {
00016     typedef typename BackInsertIterator::container_type::value_type elem_type;
00017 
00018     IOBufferFile buf(fileName, true, true);
00019     while (buf.Available() > 0)
00020     {
00021         elem_type d;
00022         //f.NativeTypeRead(&d);
00023         buf.Read(&d, sizeof(d));
00024         *bi++ = d;
00025     }
00026 }


Generated on Thu Jan 13 09:24:05 2011 for ImpalaSrc by  doxygen 1.5.1