predictivesearch/PcsAlgorithm/Algorithm1/inc/CPcsCache.h
branchRCL_3
changeset 12 4ae315f230bc
parent 7 b3431bff8c19
child 13 a6539d1e8e43
equal deleted inserted replaced
11:2828b4d142c0 12:4ae315f230bc
    65 		void AddToCacheL(CPsData& aData);
    65 		void AddToCacheL(CPsData& aData);
    66 
    66 
    67 		/**
    67 		/**
    68 		* Removes a data element from the cache
    68 		* Removes a data element from the cache
    69 		*/
    69 		*/
    70 		void RemoveFromCacheL(TInt aItemId);	    
    70 		void RemoveFromCacheL(TInt aItemId);
    71 
    71 
    72 		/**
    72 		/**
    73 		* Removes all data elements from the cache
    73 		* Removes all data elements from the cache
    74 		*/
    74 		*/
    75 		void RemoveAllFromCache();
    75 		void RemoveAllFromCache();
   149         /**
   149         /**
   150          * Utility function
   150          * Utility function
   151          */
   151          */
   152         void ComputeIndexOrder();
   152         void ComputeIndexOrder();
   153         
   153         
   154 	private:    
   154 	private:
   155 
   155 
   156 		/*
   156 		/*
   157 		* Array of key maps
   157 		* Array of key maps
   158 		*/
   158 		*/
   159 		typedef RPointerArray<CPcsPoolElement> R_PTR_ARRAY;
   159 		typedef RPointerArray<CPcsPoolElement> R_PTR_ARRAY;