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

template<class DstT>
int Impala::Core::Matrix::VirtualMatrixIOBufferWriter::AddRowDirect ( int  rowNr,
DstT *  buffer 
) [inline, private]

Definition at line 142 of file VirtualMatrixIOBufferWriter.h.

References ILOG_ERROR, mBaseOffset, mExpectedRow, mIOBuffer, mLineSize, mPreWrite, NrCol(), Impala::Util::IOBuffer::SetPosition(), and Impala::Util::IOBuffer::Write().

Referenced by AddRowConv(), AddRowImpl(), and PreWriteRows().

00143     {
00144         if (mPreWrite)
00145         {
00146             mIOBuffer->SetPosition(mBaseOffset + 200 + rowNr * mLineSize);
00147         }
00148         else
00149         {
00150             if (mExpectedRow != rowNr)
00151             {
00152                 ILOG_ERROR("Cannot write: Unexpected row");
00153                 return 0;
00154             }
00155             mExpectedRow++;
00156         }
00157         mIOBuffer->Write(buffer, mLineSize);
00158         return NrCol();
00159     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:20:23 2011 for ImpalaSrc by  doxygen 1.5.1