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

int Impala::Core::Matrix::VirtualMatrix::GetRow ( int  rowNr,
Real32 buffer,
int  bufferSize 
) [inline]

Definition at line 69 of file VirtualMatrix.h.

References GetRowImpl(), HasGetRowImplReal32(), HasGetRowImplReal64(), ILOG_ERROR, and NrCol().

00070     {
00071         if (bufferSize < NrCol())
00072         {
00073             ILOG_ERROR("[GetRow] Buffer too small");
00074             return 0;
00075         }
00076         if (HasGetRowImplReal32())
00077             return GetRowImpl(rowNr, buffer, bufferSize);
00078         if (!HasGetRowImplReal64())
00079         {
00080             ILOG_ERROR("GetRow not implemented");
00081             return 0;
00082         }
00083         Real64* tmpBuf = new Real64[bufferSize];
00084         int nr = GetRowImpl(rowNr, tmpBuf, bufferSize);
00085         for (int i=0 ; i<nr ; i++)
00086             buffer[i] = tmpBuf[i];
00087         delete tmpBuf;
00088         return nr;
00089     }

Here is the call graph for this function:


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