Reimplemented from Impala::Application::MediaTable::TableDataSource. Definition at line 44 of file testTableDataSourceCombinedViews.h. References mTotalRows. 00045 { 00046 double v = row / (double)mTotalRows; 00047 if (column == "purple") 00048 return v; 00049 if (column == "orange") 00050 return 1.0 - v; 00051 if (column == "yellow") { 00052 return (row % 10) / 10.0; 00053 } 00054 return 0.0; 00055 }
|