Definition at line 15 of file TableDataSource.h. Referenced by Impala::Application::VideoExcel::TableDataSource::SortAndFilter(). 00016 { 00017 unsigned int i=0; 00018 String first = a.first; 00019 String second = b.first; 00020 while ( (i<first.length()) && (i<second.length()) ) 00021 { 00022 if (tolower(first[i])<tolower(second[i])) return true; 00023 else if (tolower(first[i])>tolower(second[i])) return false; 00024 ++i; 00025 } 00026 if (first.length()<second.length()) return true; 00027 else return false; 00028 };
|