public bool StartSearchTermsMatch(SSearchTerm pSearchTerm) { m_strSearchTermCacheCommonFileNameLowerCase = GetCommonFileNameLowerCase(); bool bResult = SearchTermsMatch(pSearchTerm); m_strSearchTermCacheCommonFileNameLowerCase.Empty(); return(bResult); }
public KadTagValueString GetCommonFileNameLowerCase() { KadTagValueString strResult = GetCommonFileName(); if (!strResult.IsEmpty()) { KadTagStrMakeLower(strResult); } return(strResult); }
public void SetFileName(KadTagValueString strName) { if (!m_listFileNames.IsEmpty()) { Debug.Assert(false); m_listFileNames.RemoveAll(); } structFileNameEntry structFN = { strName, 1 }; m_listFileNames.AddHead(structFN); }
public static void KadGetKeywordHash(KadTagValueString rstrKeywordW, UInt128 pKadID) { KadGetKeywordHash(KadGetKeywordBytes(rstrKeywordW), pKadID); }
public static string KadGetKeywordBytes(KadTagValueString rstrKeywordW) { return(string(wc2utf8(rstrKeywordW))); }