#include <LibraryDictionary.h>
Public Member Functions | |
CLibraryDictionary () | |
virtual | ~CLibraryDictionary () |
void | Add (CLibraryFile *pFile) |
void | Remove (CLibraryFile *pFile) |
BOOL | BuildHashTable () |
void | RebuildHashTable () |
CQueryHashTable * | GetHashTable () |
void | Clear () |
CPtrList * | Search (CQuerySearch *pSearch, int nMaximum=0, BOOL bLocal=FALSE) |
Public Attributes | |
CQueryHashTable * | m_pTable |
Protected Member Functions | |
void | ProcessFile (CLibraryFile *pFile, BOOL bAdd) |
int | ProcessPhrase (CLibraryFile *pFile, const CString &strPhrase, BOOL bAdd, BOOL bLowercase=TRUE) |
void | ProcessWord (CLibraryFile *pFile, const CString &strWord, BOOL bAdd) |
Protected Attributes | |
CMapStringToPtr | m_pWords |
BOOL | m_bTable |
DWORD | m_nSearchCookie |
|
Definition at line 54 of file LibraryDictionary.cpp. References m_bTable, m_nSearchCookie, m_pTable, and NULL. |
|
Definition at line 62 of file LibraryDictionary.cpp. |
|
Definition at line 71 of file LibraryDictionary.cpp. References CQueryHashTable::AddString(), BuildHashTable(), CED2K::HashToString(), CSHA::HashToString(), m_pTable, and ProcessFile(). Referenced by CLibrary::AddFile(). |
|
|
Definition at line 338 of file LibraryDictionary.cpp. References CQueryHashTable::Clear(), m_bTable, m_pTable, m_pWords, and NULL. Referenced by CLibrary::Clear(), and ~CLibraryDictionary(). |
|
Definition at line 326 of file LibraryDictionary.cpp. References BuildHashTable(), Library, CLibrary::m_pSection, and m_pTable. Referenced by CQueryHashMaster::Build(). |
|
Definition at line 101 of file LibraryDictionary.cpp. References CLibraryFile::GetMetadataWords(), CLibraryFile::GetSearchName(), CLibraryFile::m_pMetadata, CLibraryFile::m_pSchema, CSchema::m_sURI, NULL, ProcessPhrase(), and ProcessWord(). |
|
Definition at line 116 of file LibraryDictionary.cpp. References IsCharacter(), IsWord(), CSettings::Library, CSettings::sLibrary::PartialMatch, ProcessWord(), and Settings. Referenced by ProcessFile(). |
|
Definition at line 202 of file LibraryDictionary.cpp. References CQueryHashTable::AddString(), BuildHashTable(), m_bTable, m_pTable, and m_pWords. Referenced by ProcessFile(), and ProcessPhrase(). |
|
Definition at line 316 of file LibraryDictionary.cpp. References BuildHashTable(), and m_bTable. Referenced by CUploadsSettingsPage::OnOK(). |
|
Definition at line 88 of file LibraryDictionary.cpp. References m_bTable, and ProcessFile(). Referenced by CLibrary::RemoveFile(). |
|
|
Definition at line 45 of file LibraryDictionary.h. Referenced by BuildHashTable(), Clear(), CLibraryDictionary(), ProcessWord(), RebuildHashTable(), and Remove(). |
|
Definition at line 46 of file LibraryDictionary.h. Referenced by CLibraryDictionary(), and Search(). |
|
Definition at line 42 of file LibraryDictionary.h. Referenced by Add(), BuildHashTable(), Clear(), CLibraryDictionary(), GetHashTable(), ProcessWord(), Search(), and ~CLibraryDictionary(). |
|
Definition at line 44 of file LibraryDictionary.h. Referenced by BuildHashTable(), Clear(), ProcessWord(), and Search(). |