Reimplemented from Impala::Application::MediaTable::TableDataSource. Definition at line 54 of file TableDataSourceFlickrPhotoList.h. References Impala::atof(), GetTextDataByID(), and mTotalRows. 00055 { 00056 double v = row / (double)mTotalRows; 00057 if (column == "red") 00058 return v; 00059 if (column == "green") 00060 return 1.0 - v; 00061 if (column == "blue") { 00062 return (row % 10) / 10.0; 00063 } 00064 00065 return atof(GetTextDataByID(column, row)); 00066 }
Here is the call graph for this function:
|