#include <HashDatabase.h>
Public Member Functions | |
CHashDatabase () | |
virtual | ~CHashDatabase () |
BOOL | Create () |
void | Close () |
BOOL | DeleteAll (DWORD nIndex) |
BOOL | GetTiger (DWORD nIndex, CTigerTree *pTree) |
BOOL | StoreTiger (DWORD nIndex, CTigerTree *pTree) |
BOOL | DeleteTiger (DWORD nIndex) |
BOOL | GetED2K (DWORD nIndex, CED2K *pSet) |
BOOL | StoreED2K (DWORD nIndex, CED2K *pSet) |
BOOL | DeleteED2K (DWORD nIndex) |
Protected Member Functions | |
HASHDB_INDEX * | Lookup (DWORD nIndex, DWORD nType) |
HASHDB_INDEX * | PrepareToStore (DWORD nIndex, DWORD nType, DWORD nLength) |
BOOL | Erase (DWORD nIndex, DWORD nType) |
void | Commit () |
Protected Attributes | |
CCriticalSection | m_pSection |
CString | m_sPath |
CFile | m_pFile |
BOOL | m_bOpen |
DWORD | m_nOffset |
HASHDB_INDEX * | m_pIndex |
DWORD | m_nIndex |
DWORD | m_nBuffer |
|
Definition at line 41 of file HashDatabase.cpp. References m_bOpen, m_nBuffer, m_nIndex, m_nOffset, m_pIndex, and NULL. |
|
Definition at line 50 of file HashDatabase.cpp. References Close(). |
|
Definition at line 127 of file HashDatabase.cpp. References m_bOpen, m_nBuffer, m_nIndex, m_nOffset, m_pFile, m_pIndex, m_pSection, and NULL. Referenced by Create(), and ~CHashDatabase(). |
|
Definition at line 238 of file HashDatabase.cpp. References HASHDB_INDEX, m_bOpen, m_nIndex, m_nOffset, m_pFile, and m_pIndex. Referenced by DeleteAll(), Erase(), StoreED2K(), and StoreTiger(). |
|
Definition at line 58 of file HashDatabase.cpp. References Close(), CSettings::General, HASH_TIGERTREE, HASHDB_INDEX, m_bOpen, m_nBuffer, m_nIndex, m_nOffset, m_pFile, m_pIndex, m_pSection, m_sPath, Settings, and CSettings::sGeneral::UserPath. Referenced by CLibrary::Load(). |
|
Definition at line 256 of file HashDatabase.cpp. References Commit(), HASHDB_INDEX, m_bOpen, m_nIndex, m_pIndex, and m_pSection. Referenced by CLibrary::OnFileDelete(). |
|
Definition at line 393 of file HashDatabase.cpp. References Erase(), HASH_ED2K, m_bOpen, and m_pSection. Referenced by CLibraryFile::GetED2K(). |
|
Definition at line 332 of file HashDatabase.cpp. References Erase(), HASH_TIGERTREE, m_bOpen, and m_pSection. Referenced by CLibraryFile::GetTigerTree(). |
|
Definition at line 223 of file HashDatabase.cpp. References Commit(), HASHDB_INDEX, Lookup(), m_bOpen, and NULL. Referenced by DeleteED2K(), and DeleteTiger(). |
|
Definition at line 342 of file HashDatabase.cpp. References CED2K::Clear(), HASH_ED2K, HASHDB_INDEX, Lookup(), m_bOpen, m_pFile, m_pSection, NULL, and CED2K::Serialize(). Referenced by CLibraryFile::GetED2K(). |
|
Definition at line 281 of file HashDatabase.cpp. References CTigerTree::Clear(), HASH_TIGERTREE, HASHDB_INDEX, Lookup(), m_bOpen, m_pFile, m_pSection, NULL, and CTigerTree::Serialize(). Referenced by CLibraryFile::GetTigerTree(). |
|
Definition at line 144 of file HashDatabase.cpp. References HASHDB_INDEX, m_bOpen, m_nIndex, m_pIndex, and NULL. Referenced by Erase(), GetED2K(), GetTiger(), and PrepareToStore(). |
|
Definition at line 160 of file HashDatabase.cpp. References HASHDB_INDEX, Lookup(), m_bOpen, m_nBuffer, m_nIndex, m_nOffset, m_pIndex, and NULL. Referenced by StoreED2K(), and StoreTiger(). |
|
Definition at line 367 of file HashDatabase.cpp. References Commit(), CED2K::GetSerialSize(), HASH_ED2K, HASHDB_INDEX, m_bOpen, m_pFile, m_pSection, NULL, PrepareToStore(), and CED2K::Serialize(). Referenced by CLibraryBuilder::HashFile(). |
|
Definition at line 306 of file HashDatabase.cpp. References Commit(), CTigerTree::GetSerialSize(), HASH_TIGERTREE, HASHDB_INDEX, m_bOpen, m_pFile, m_pSection, NULL, PrepareToStore(), and CTigerTree::Serialize(). Referenced by CLibraryBuilder::HashFile(). |
|
Definition at line 59 of file HashDatabase.h. Referenced by CHashDatabase(), Close(), Commit(), Create(), DeleteAll(), DeleteED2K(), DeleteTiger(), Erase(), GetED2K(), GetTiger(), Lookup(), PrepareToStore(), StoreED2K(), and StoreTiger(). |
|
Definition at line 64 of file HashDatabase.h. Referenced by CHashDatabase(), Close(), Create(), and PrepareToStore(). |
|
Definition at line 63 of file HashDatabase.h. Referenced by CHashDatabase(), Close(), Commit(), Create(), DeleteAll(), Lookup(), and PrepareToStore(). |
|
Definition at line 61 of file HashDatabase.h. Referenced by CHashDatabase(), Close(), Commit(), Create(), and PrepareToStore(). |
|
Definition at line 58 of file HashDatabase.h. Referenced by Close(), Commit(), Create(), GetED2K(), GetTiger(), StoreED2K(), and StoreTiger(). |
|
Definition at line 62 of file HashDatabase.h. Referenced by CHashDatabase(), Close(), Commit(), Create(), DeleteAll(), Lookup(), and PrepareToStore(). |
|
Definition at line 55 of file HashDatabase.h. Referenced by Close(), Create(), DeleteAll(), DeleteED2K(), DeleteTiger(), GetED2K(), GetTiger(), StoreED2K(), and StoreTiger(). |
|
Definition at line 57 of file HashDatabase.h. Referenced by Create(). |