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

template<class NativeType>
void Impala::Util::IOBufferFile::DoNativeTypeRead ( NativeType *  ptr  )  [inline, private]

Reimplemented from Impala::Util::IOBuffer.

Definition at line 383 of file IOBufferFile.h.

References Impala::Util::IOBuffer::DoNativeTypeRead(), FSeek(), FTell(), Impala::Util::IOBuffer::GetPosition(), mFile, mUseMemory, and SetPosition().

Referenced by NativeTypeRead().

00384     {
00385         if (mUseMemory)
00386             return IOBuffer::DoNativeTypeRead(ptr);
00387 
00388         String fs = NativeTypeFormat<NativeType>(0);
00389         FSeek(mFile, GetPosition(), SEEK_SET);
00390         fscanf(mFile, fs.c_str(), ptr);
00391         SetPosition(FTell(mFile));
00392     }

Here is the call graph for this function:


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