predictivesearch/PcsAlgorithm/Algorithm2/inc/CPcsAlgorithm2FilterHelper.h
branchRCL_3
changeset 18 d4f567ce2e7c
parent 0 e686773b3f54
--- a/predictivesearch/PcsAlgorithm/Algorithm2/inc/CPcsAlgorithm2FilterHelper.h	Thu Jul 15 18:22:55 2010 +0300
+++ b/predictivesearch/PcsAlgorithm/Algorithm2/inc/CPcsAlgorithm2FilterHelper.h	Thu Aug 19 09:41:07 2010 +0300
@@ -91,7 +91,7 @@
 		/**
 		 * 2nd phase construtor
 		 */
-		void ConstructL(TSortType aSortType);   
+		void ConstructL(TSortType aSortType);
 		
 		/**
 		* Adds each result into respective pool based on match pattern
@@ -102,7 +102,7 @@
 		* Searches for for aSeq in iMatchPatternDetails and returns index 
         * where input sequence is found. Returns -1 if not found
 		*/
-		TInt FindSequence(TDesC* aSeq);
+		TInt FindSequence(const TDesC& aSeq);
 		
 		
 		/**
@@ -110,19 +110,19 @@
         * and returns index where input sequence is found. 
         * Returns -1 if not found
 		*/
-		TInt FindSubSequence(TDesC* aSeq,TInt aPatternIndex);
+		TInt FindSubSequence(const TDesC& aSeq, TInt aPatternIndex);
 		
 		/**
 		* Creates the Matchpattern aSeq in  iMatchPatternDetails.
         * Returns the index of the sequence in iMatchPatternDetails
         */
-		TInt CreateMatchPatternDetailsAndPoolsL(TDesC* aSeq);
+		TInt CreateMatchPatternDetailsAndPoolsL(const TDesC& aSeq);
 		
 		/**
 		* Searches for all the subsequences of aSeq and updates the 
 		* aFirstOccrVal in iMatchPatternDetails.
         */
-		void UpdateForSubSequencesL(TDesC& aSeq,TInt aFirstOccrVal);
+		void UpdateForSubSequencesL(const TDesC& aSeq, TInt aFirstOccrVal);
 
 	private: