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

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

Reimplemented from Impala::Util::IOBuffer.

Definition at line 324 of file IOBufferFile.h.

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

Referenced by NativeTypeRead().

00325     {
00326         if (mUseMemory)
00327             return IOBuffer::DoNativeTypeRead(ptr);
00328 
00329         String fs = NativeTypeFormat<NativeType>(0);
00330         FSeek(mFile, GetPosition(), SEEK_SET);
00331         fscanf(mFile, fs.c_str(), ptr);
00332         SetPosition(FTell(mFile));
00333     }

Here is the call graph for this function:


Generated on Fri Mar 19 11:40:55 2010 for ImpalaSrc by  doxygen 1.5.1