Reimplemented from Impala::Application::MediaTable::TableDataSource. Definition at line 41 of file testTableDataSource.h. References mTotalRows. 00042 { 00043 double v = row / (double)mTotalRows; 00044 if (column == "red") 00045 return v; 00046 if (column == "green") 00047 return 1.0 - v; 00048 if (column == "blue") { 00049 return (row % 10) / 10.0; 00050 } 00051 return 0.0; 00052 }
|