predictivesearch/PcsAlgorithm/Algorithm2/src/CPcsPoolElement.cpp
branchRCL_3
changeset 21 9da50d567e3c
parent 20 f4a778e096c2
equal deleted inserted replaced
20:f4a778e096c2 21:9da50d567e3c
    71 {
    71 {
    72 	return iPsData;
    72 	return iPsData;
    73 }
    73 }
    74 
    74 
    75 // ----------------------------------------------------------------------------
    75 // ----------------------------------------------------------------------------
    76 // CPcsPoolElement::CompareByData
    76 // CPcsPoolElement::CompareByDataL
    77 // Calls CPsData::CompareByData to compare CPsData objects
    77 // 
    78 // 
    78 // 
    79 // ----------------------------------------------------------------------------
    79 // ----------------------------------------------------------------------------
    80 TInt CPcsPoolElement::CompareByData ( const CPcsPoolElement& aObject1,  const CPcsPoolElement& aObject2 )
    80 TInt CPcsPoolElement::CompareByDataL ( const CPcsPoolElement& aObject1,  const CPcsPoolElement& aObject2 )
    81 {
    81 {
    82     CPsData *data1 = const_cast<CPcsPoolElement&> (aObject1).GetPsData();
    82     CPsData *data1 = const_cast<CPcsPoolElement&> (aObject1).GetPsData();
    83     CPsData *data2 = const_cast<CPcsPoolElement&> (aObject2).GetPsData();  
    83     CPsData *data2 = const_cast<CPcsPoolElement&> (aObject2).GetPsData();  
    84     return (CPcsAlgorithm2Utils::CompareDataBySortOrder(*(data1), *(data2)));
    84     return (CPcsAlgorithm2Utils::CompareDataBySortOrderL(*(data1), *(data2)));
    85 }
    85 }
    86 
    86 
    87 // CPcsPoolElement::IsDataMatch
    87 // CPcsPoolElement::IsDataMatch
    88 // 
    88 // 
    89 // ----------------------------------------------------------------------------		
    89 // ----------------------------------------------------------------------------