Definition at line 93 of file VirtualMatrix.h. References AddRowImpl(), HasAddRowImplReal32(), HasAddRowImplReal64(), ILOG_ERROR, and NrCol(). Referenced by CopyFromImpl(). 00094 { 00095 if (HasAddRowImplReal64()) 00096 return AddRowImpl(rowNr, buffer); 00097 if (!HasAddRowImplReal32()) 00098 { 00099 ILOG_ERROR("AddRow not implemented"); 00100 return 0; 00101 } 00102 int nr = NrCol(); 00103 Real32* tmpBuf = new Real32[nr]; 00104 for (int i=0 ; i<nr ; i++) 00105 tmpBuf[i] = buffer[i]; 00106 int res = AddRowImpl(rowNr, tmpBuf); 00107 delete tmpBuf; 00108 return res; 00109 }
Here is the call graph for this function:
|