predictivesearch/PcsAlgorithm/Algorithm1/inc/CPcsAlgorithm1FilterHelper.h
branchRCL_3
changeset 21 b3431bff8c19
parent 0 e686773b3f54
child 64 c1e8ba0c2b16
--- a/predictivesearch/PcsAlgorithm/Algorithm1/inc/CPcsAlgorithm1FilterHelper.h	Mon Mar 15 12:39:26 2010 +0200
+++ b/predictivesearch/PcsAlgorithm/Algorithm1/inc/CPcsAlgorithm1FilterHelper.h	Wed Mar 31 21:13:53 2010 +0300
@@ -92,7 +92,7 @@
 		/**
 		 * 2nd phase construtor
 		 */
-		void ConstructL(TSortType aSortType);   
+		void ConstructL(TSortType aSortType);
 		
 		/**
 		* Adds each result into respective pool based on match pattern
@@ -103,7 +103,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);
 		
 		
 		/**
@@ -111,19 +111,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: