Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

CQueryHashMaster Class Reference

#include <QueryHashMaster.h>

Inheritance diagram for CQueryHashMaster:

CQueryHashTable List of all members.

Public Member Functions

 CQueryHashMaster ()
virtual ~CQueryHashMaster ()
void Create ()
void Add (CQueryHashTable *pTable)
void Remove (CQueryHashTable *pTable)
void Build ()
POSITION GetIterator () const
CQueryHashGroupGetNext (POSITION &pos) const
int GetCount () const
void Invalidate ()

Protected Attributes

CPtrList m_pGroups
int m_nPerGroup
BOOL m_bValid

Constructor & Destructor Documentation

CQueryHashMaster::CQueryHashMaster  ) 
 

Definition at line 45 of file QueryHashMaster.cpp.

References m_nPerGroup.

CQueryHashMaster::~CQueryHashMaster  )  [virtual]
 

Definition at line 50 of file QueryHashMaster.cpp.

References GetCount().


Member Function Documentation

void CQueryHashMaster::Add CQueryHashTable pTable  ) 
 

Definition at line 71 of file QueryHashMaster.cpp.

References CQueryHashGroup::Add(), CQueryHashGroup::GetCount(), GetIterator(), GetNext(), m_bValid, CQueryHashGroup::m_nHash, CQueryHashTable::m_nHash, m_nPerGroup, CQueryHashTable::m_pGroup, m_pGroups, and NULL.

Referenced by CQueryHashTable::Clear(), CQueryHashTable::Create(), CNeighbour::OnCommonQueryHash(), and CQueryHashTable::OnReset().

void CQueryHashMaster::Build  ) 
 

Definition at line 122 of file QueryHashMaster.cpp.

References CQueryHashTable::AddString(), CQueryHashTable::Clear(), Downloads, CLibraryDictionary::GetHashTable(), CDownloads::GetIterator(), GetIterator(), CDownloads::GetNext(), GetNext(), CED2K::HashToString(), CSHA::HashToString(), Library, LibraryDictionary, CDownloadBase::m_bBTH, CDownloadBase::m_bED2K, CQueryHashTable::m_bLive, CDownloadBase::m_bSHA1, m_bValid, CQueryHashTable::m_nCookie, CDownloadBase::m_pBTH, CDownloadBase::m_pED2K, CTransfers::m_pSection, CLibrary::m_pSection, CDownloadBase::m_pSHA1, CQueryHashTable::Merge(), NULL, and Transfers.

Referenced by CNetwork::OnRun().

void CQueryHashMaster::Create  ) 
 

Reimplemented from CQueryHashTable.

Definition at line 58 of file QueryHashMaster.cpp.

References CQueryHashTable::Create(), CQueryHashTable::m_bLive, m_bValid, CQueryHashTable::m_nCookie, and m_nPerGroup.

Referenced by CShareazaApp::InitInstance().

int CQueryHashMaster::GetCount  )  const [inline]
 

Definition at line 64 of file QueryHashMaster.h.

References m_pGroups.

Referenced by ~CQueryHashMaster().

POSITION CQueryHashMaster::GetIterator  )  const [inline]
 

Definition at line 54 of file QueryHashMaster.h.

References m_pGroups.

Referenced by Add(), and Build().

CQueryHashGroup* CQueryHashMaster::GetNext POSITION &  pos  )  const [inline]
 

Definition at line 59 of file QueryHashMaster.h.

References m_pGroups.

Referenced by Add(), and Build().

void CQueryHashMaster::Invalidate  )  [inline]
 

Definition at line 69 of file QueryHashMaster.h.

References m_bValid.

Referenced by CQueryHashGroup::Add(), CQueryHashTable::OnPatch(), and CQueryHashGroup::Remove().

void CQueryHashMaster::Remove CQueryHashTable pTable  ) 
 

Definition at line 100 of file QueryHashMaster.cpp.

References CQueryHashGroup::GetCount(), m_bValid, m_pGroups, NULL, and CQueryHashGroup::Remove().

Referenced by CQueryHashTable::Clear(), CQueryHashTable::Create(), CQueryHashTable::OnReset(), and CQueryHashTable::~CQueryHashTable().


Member Data Documentation

BOOL CQueryHashMaster::m_bValid [protected]
 

Definition at line 43 of file QueryHashMaster.h.

Referenced by Add(), Build(), Create(), Invalidate(), and Remove().

int CQueryHashMaster::m_nPerGroup [protected]
 

Definition at line 42 of file QueryHashMaster.h.

Referenced by Add(), CQueryHashMaster(), and Create().

CPtrList CQueryHashMaster::m_pGroups [protected]
 

Definition at line 41 of file QueryHashMaster.h.

Referenced by Add(), GetCount(), GetIterator(), GetNext(), and Remove().


The documentation for this class was generated from the following files:
Generated on Thu Dec 15 10:40:10 2005 for Shareaza 2.2.1.0 by  doxygen 1.4.2