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:
|