predictivesearch/PcsAlgorithm/Algorithm1/inc/CPcsAlgorithm1Utils.h
branchRCL_3
changeset 21 b3431bff8c19
parent 15 e8e3147d53eb
child 39 a6539d1e8e43
equal deleted inserted replaced
15:e8e3147d53eb 21:b3431bff8c19
    96         
    96         
    97         /**
    97         /**
    98          * Check if the input URI is of contact search in a group template form
    98          * Check if the input URI is of contact search in a group template form
    99          */
    99          */
   100         static TBool IsGroupUri(TDesC& aURI);
   100         static TBool IsGroupUri(TDesC& aURI);
   101                                     
   101 
       
   102         /**
       
   103          * Constructs a bit pattern using the required/supported data fields
       
   104          * For example, 6, 4 and 27 are supported fields <-- 00000111
       
   105          *              6 and 4 are required fields      <-- 00000011
       
   106          * Bit pattern returned is 00000011.
       
   107          */
       
   108         static TUint8 FilterDataFieldsL(const RArray<TInt>& aRequiredDataFields,
       
   109                                         const RArray<TInt>& aSupportedDataFields);
       
   110     
       
   111         /**
       
   112          * Create upper-case match sequence buffer from matching part and append it to
       
   113          * array unless there's equal sequence already present.
       
   114          */
       
   115         static void AppendMatchToSeqL( RPointerArray<TDesC>& aMatchSeq, const TDesC& aMatch );
   102 };
   116 };
   103 
   117 
   104 
   118 
   105 // CleanupStack helpers for item owning RPointerArrays
   119 // CleanupStack helpers for item owning RPointerArrays
   106 template <class T>
   120 template <class T>