Example #1
0
        public bool StartSearchTermsMatch(SSearchTerm pSearchTerm)
        {
            m_strSearchTermCacheCommonFileNameLowerCase = GetCommonFileNameLowerCase();
            bool bResult = SearchTermsMatch(pSearchTerm);

            m_strSearchTermCacheCommonFileNameLowerCase.Empty();
            return(bResult);
        }
Example #2
0
        public KadTagValueString GetCommonFileNameLowerCase()
        {
            KadTagValueString strResult = GetCommonFileName();

            if (!strResult.IsEmpty())
            {
                KadTagStrMakeLower(strResult);
            }
            return(strResult);
        }
Example #3
0
        public void SetFileName(KadTagValueString strName)
        {
            if (!m_listFileNames.IsEmpty())
            {
                Debug.Assert(false);
                m_listFileNames.RemoveAll();
            }
            structFileNameEntry structFN = { strName, 1 };

            m_listFileNames.AddHead(structFN);
        }
Example #4
0
 public static void KadGetKeywordHash(KadTagValueString rstrKeywordW, UInt128 pKadID)
 {
     KadGetKeywordHash(KadGetKeywordBytes(rstrKeywordW), pKadID);
 }
Example #5
0
 public static string KadGetKeywordBytes(KadTagValueString rstrKeywordW)
 {
     return(string(wc2utf8(rstrKeywordW)));
 }