Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

geoDataType Impala::Application::TagsLife::Tag::getGeoData ( int  minVal,
int  maxVal 
) [inline]

Definition at line 86 of file Tag.h.

References weekStats.

00086                                                    {
00087                 geoDataType geoData;
00088                 for(int i=minVal; i < maxVal; i++) {
00089                   if(weekStats.count(i) == 0) continue;
00090                   for(geoDataType::iterator iter = weekStats[i]->geoData.begin();
00091                           iter != weekStats[i]->geoData.end(); iter++) {
00092                           if(geoData.count(iter->first)) {
00093                                   geoData[iter->first]->count += iter->second->count;
00094                           } else {
00095                                   geoData[iter->first] = iter->second;
00096                           }
00097                   }
00098                 }
00099                 return(geoData);
00100         }


Generated on Fri Mar 19 10:51:39 2010 for ImpalaSrc by  doxygen 1.5.1