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

CQuerySearch Class Reference

#include <QuerySearch.h>

List of all members.

Public Member Functions

 CQuerySearch (BOOL bGUID=TRUE)
 CQuerySearch (CQuerySearch *pCopy)
virtual ~CQuerySearch ()
CG1PacketToG1Packet ()
CG2PacketToG2Packet (SOCKADDR_IN *pUDP, DWORD nKey)
CEDPacketToEDPacket (BOOL bUDP, DWORD nServerFlags=0)
BOOL Match (LPCTSTR pszFilename, QWORD nSize, LPCTSTR pszSchemaURI, CXMLElement *pXML, SHA1 *pSHA1=NULL, TIGEROOT *pTiger=NULL, MD4 *pED2K=NULL)
TRISTATE MatchMetadata (LPCTSTR pszSchemaURI, CXMLElement *pXML)
BOOL MatchMetadataShallow (LPCTSTR pszSchemaURI, CXMLElement *pXML)
void BuildWordList ()
void Serialize (CArchive &ar)
CSearchWndOpenWindow ()
BOOL CheckValid ()

Static Public Member Functions

static CQuerySearchFromPacket (CPacket *pPacket, SOCKADDR_IN *pEndpoint=NULL)
static BOOL WordMatch (LPCTSTR pszString, LPCTSTR pszFind)
static BOOL NumberMatch (const CString &strValue, const CString &strRange)

Public Attributes

GGUID m_pGUID
CString m_sSearch
CSchemam_pSchema
CXMLElementm_pXML
QWORD m_nMinSize
QWORD m_nMaxSize
BOOL m_bSHA1
SHA1 m_pSHA1
BOOL m_bTiger
TIGEROOT m_pTiger
BOOL m_bED2K
MD4 m_pED2K
BOOL m_bBTH
SHA1 m_pBTH
BOOL m_bSimilarSearch
MD4 m_pSimilarED2K
BOOL m_bWantURL
BOOL m_bWantDN
BOOL m_bWantXML
BOOL m_bWantCOM
BOOL m_bWantPFS
BOOL m_bAndG1
BOOL m_bUDP
SOCKADDR_IN m_pEndpoint
DWORD m_nKey
BOOL m_bFirewall
DWORD m_nWords
LPCTSTR * m_pWordPtr
DWORD * m_pWordLen

Protected Member Functions

BOOL ReadG1Packet (CPacket *pPacket)
BOOL ReadG2Packet (CG2Packet *pPacket, SOCKADDR_IN *pEndpoint=NULL)
void AddStringToWordList (LPCTSTR pszString)
BOOL WriteHashesToEDPacket (CEDPacket *pPacket, BOOL bUDP)


Constructor & Destructor Documentation

CQuerySearch::CQuerySearch BOOL  bGUID = TRUE  ) 
 

Definition at line 58 of file QuerySearch.cpp.

References CNetwork::CreateID(), CSettings::sGnutella1::EnableToday, CSettings::Gnutella1, m_bAndG1, m_bBTH, m_bED2K, m_bFirewall, m_bSHA1, m_bSimilarSearch, m_bTiger, m_bUDP, m_bWantCOM, m_bWantDN, m_bWantPFS, m_bWantURL, m_bWantXML, m_nKey, m_nMaxSize, m_nMinSize, m_nWords, m_pGUID, m_pSchema, m_pWordLen, m_pWordPtr, m_pXML, Network, NULL, and Settings.

Referenced by FromPacket().

CQuerySearch::CQuerySearch CQuerySearch pCopy  ) 
 

Definition at line 90 of file QuerySearch.cpp.

References CXMLElement::Clone(), m_bAndG1, m_bBTH, m_bED2K, m_bSHA1, m_bSimilarSearch, m_bTiger, m_bUDP, m_bWantCOM, m_bWantDN, m_bWantPFS, m_bWantURL, m_bWantXML, m_nKey, m_nMaxSize, m_nMinSize, m_nWords, m_pBTH, m_pED2K, m_pEndpoint, m_pGUID, m_pSchema, m_pSHA1, m_pTiger, m_pWordLen, m_pWordPtr, m_pXML, m_sSearch, and NULL.

CQuerySearch::~CQuerySearch  )  [virtual]
 

Definition at line 126 of file QuerySearch.cpp.

References m_pWordLen, m_pWordPtr, and m_pXML.


Member Function Documentation

void CQuerySearch::AddStringToWordList LPCTSTR  pszString  )  [protected]
 

Definition at line 1212 of file QuerySearch.cpp.

References IsCharacter(), IsWord(), m_nWords, m_pWordLen, and m_pWordPtr.

Referenced by BuildWordList().

void CQuerySearch::BuildWordList  ) 
 

Definition at line 1121 of file QuerySearch.cpp.

References AddStringToWordList(), CXMLElement::GetFirstElement(), CSchema::GetMemberIterator(), CSchema::GetNextMember(), CED2K::HashFromURN(), CTigerNode::HashFromURN(), CSHA::HashFromURN(), m_bED2K, CSchemaMember::m_bIndexed, m_bSHA1, m_bTiger, m_nWords, m_pED2K, m_pSchema, m_pSHA1, m_pTiger, m_pXML, CSchemaMember::m_sName, m_sSearch, CXMLNode::m_sValue, NULL, Replace(), and ToLower().

Referenced by CheckValid(), CSearchPanel::GetSearch(), CDownloadWithSearch::PrepareSearch(), and Serialize().

BOOL CQuerySearch::CheckValid  ) 
 

Definition at line 789 of file QuerySearch.cpp.

References BuildWordList(), m_bBTH, m_bED2K, m_bSHA1, m_bTiger, m_nWords, m_pSchema, m_pWordLen, m_pWordPtr, and NULL.

Referenced by CSearchWnd::ExecuteSearch(), CSearchPadWnd::GetSearch(), CSearchPanel::GetSearch(), CNewSearchDlg::OnOK(), OpenWindow(), ReadG1Packet(), and ReadG2Packet().

CQuerySearch * CQuerySearch::FromPacket CPacket pPacket,
SOCKADDR_IN *  pEndpoint = NULL
[static]
 

Definition at line 496 of file QuerySearch.cpp.

References CQuerySearch(), G2_PACKET_QUERY_WRAP, CShareazaApp::Message(), MSG_DEBUG, NULL, PROTOCOL_G1, PROTOCOL_G2, ReadG1Packet(), ReadG2Packet(), and theApp.

Referenced by CG2Neighbour::OnQuery(), CG1Neighbour::OnQuery(), and CDatagrams::OnQuery().

BOOL CQuerySearch::Match LPCTSTR  pszFilename,
QWORD  nSize,
LPCTSTR  pszSchemaURI,
CXMLElement pXML,
SHA1 pSHA1 = NULL,
TIGEROOT pTiger = NULL,
MD4 pED2K = NULL
 

Definition at line 895 of file QuerySearch.cpp.

References m_bED2K, m_bSHA1, m_bSimilarSearch, m_bTiger, m_nMaxSize, m_pED2K, m_pSHA1, m_pTiger, m_sSearch, MatchMetadata(), MatchMetadataShallow(), NULL, TS_TRUE, TS_UNKNOWN, and WordMatch().

Referenced by CMatchList::AddHits().

TRISTATE CQuerySearch::MatchMetadata LPCTSTR  pszSchemaURI,
CXMLElement pXML
 

Definition at line 948 of file QuerySearch.cpp.

References CSchema::CheckURI(), CXMLElement::GetFirstElement(), CSchema::GetMemberIterator(), CSchema::GetNextMember(), CSchemaMember::GetValueFrom(), CSchemaMember::m_bNumeric, m_pSchema, m_pXML, NumberMatch(), TS_FALSE, TS_TRUE, TS_UNKNOWN, and WordMatch().

Referenced by Match().

BOOL CQuerySearch::MatchMetadataShallow LPCTSTR  pszSchemaURI,
CXMLElement pXML
 

Definition at line 989 of file QuerySearch.cpp.

References CSchemaCache::Get(), CXMLElement::GetAttributeIterator(), CXMLElement::GetNextAttribute(), CXMLNode::GetValue(), CSchemaMember::GetValueFrom(), CSchemaMember::m_bSearched, m_sSearch, SchemaCache, and WordMatch().

Referenced by Match().

BOOL CQuerySearch::NumberMatch const CString &  strValue,
const CString &  strRange
[static]
 

Definition at line 1090 of file QuerySearch.cpp.

Referenced by MatchMetadata().

CSearchWnd * CQuerySearch::OpenWindow  ) 
 

Definition at line 1380 of file QuerySearch.cpp.

References CheckValid(), and NULL.

Referenced by CMainWnd::OnOpenSearch(), CHomeSearchCtrl::OnSearchCreate(), CSearchMonitorWnd::OnSearchMonitorSearch(), CRelatedSearch::RunSearchForAlbum(), CRelatedSearch::RunSearchForArtist(), CRelatedSearch::RunSearchForSeries(), CRelatedSearch::RunSearchForSimilar(), and CRelatedSearch::RunSearchForThis().

BOOL CQuerySearch::ReadG1Packet CPacket pPacket  )  [protected]
 

Definition at line 525 of file QuerySearch.cpp.

References CheckValid(), CSettings::sGnutella1::EnableGGEP, CGGEPBlock::Find(), CXMLElement::FromString(), G1_QF_FIREWALLED, G1_QF_TAG, G1_QF_XML, CSchemaCache::Get(), CXMLElement::GetAttributeValue(), GGEP_MAGIC, CSettings::Gnutella1, CED2K::HashFromURN(), CTigerNode::HashFromURN(), CSHA::HashFromURN(), m_bAndG1, m_bED2K, m_bFirewall, m_bSHA1, m_bTiger, m_bWantCOM, m_bWantPFS, m_bWantXML, m_pED2K, m_pGUID, m_pSchema, m_pSHA1, m_pTiger, m_pXML, m_sSearch, NULL, PROTOCOL_G2, CSettings::sGnutella1::QuerySearchUTF8, CPacket::Read(), CGGEPBlock::ReadFromString(), SchemaCache, CXMLAttribute::schemaName, and Settings.

Referenced by FromPacket().

BOOL CQuerySearch::ReadG2Packet CG2Packet pPacket,
SOCKADDR_IN *  pEndpoint = NULL
[protected]
 

Definition at line 640 of file QuerySearch.cpp.

References CXMLElement::AddElement(), CheckValid(), CXMLNode::Delete(), CXMLElement::FromString(), CSchemaCache::Get(), CXMLElement::GetAttribute(), CXMLNode::GetName(), CPacket::GetRemaining(), CSchemaCache::Guess(), CSchema::Instantiate(), CNetwork::IsFirewalledAddress(), m_bAndG1, m_bBTH, CG2Packet::m_bCompound, m_bED2K, m_bSHA1, m_bTiger, m_bUDP, m_bWantCOM, m_bWantDN, m_bWantPFS, m_bWantURL, m_bWantXML, m_nKey, m_nMaxSize, m_nMinSize, CPacket::m_nPosition, m_pBTH, CPacket::m_pBuffer, m_pED2K, m_pEndpoint, m_pGUID, m_pSchema, m_pSHA1, m_pTiger, m_pXML, m_sSearch, Network, NULL, CPacket::Read(), CPacket::ReadInt64(), CPacket::ReadLongBE(), CPacket::ReadLongLE(), CG2Packet::ReadPacket(), CPacket::ReadShortBE(), CG2Packet::ReadString(), SchemaCache, CXMLAttribute::schemaName, and SIZE_UNKNOWN.

Referenced by FromPacket().

void CQuerySearch::Serialize CArchive &  ar  ) 
 

Definition at line 1299 of file QuerySearch.cpp.

References BuildWordList(), CSchemaCache::Get(), m_bBTH, m_bED2K, m_bSHA1, m_bTiger, m_bWantCOM, m_bWantDN, m_bWantPFS, m_bWantURL, m_bWantXML, m_pBTH, m_pED2K, m_pGUID, m_pSchema, m_pSHA1, m_pTiger, m_pXML, m_sSearch, CSchema::m_sURI, NULL, and SchemaCache.

Referenced by CManagedSearch::Serialize().

CEDPacket * CQuerySearch::ToEDPacket BOOL  bUDP,
DWORD  nServerFlags = 0
 

Definition at line 311 of file QuerySearch.cpp.

References ED2K_C2S_GETSOURCES, ED2K_C2S_SEARCHREQUEST, ED2K_C2SG_GETSOURCES, ED2K_C2SG_GETSOURCES2, ED2K_C2SG_SEARCHREQUEST, ED2K_FT_FILESIZE, ED2K_FT_FILETYPE, ED2K_SERVER_TCP_GETSOURCES2, ED2K_SERVER_TCP_RELATEDSEARCH, ED2K_SERVER_TCP_UNICODE, ED2K_SERVER_UDP_GETSOURCES2, ED2K_SERVER_UDP_UNICODE, CSettings::eDonkey, CXMLElement::GetFirstElement(), CSchema::GetIndexedWords(), CED2K::HashToString(), m_bBTH, m_bED2K, m_bSimilarSearch, m_bWantDN, m_nMaxSize, m_nMinSize, m_pED2K, m_pSchema, m_pSimilarED2K, m_pXML, CSchema::m_sDonkeyType, m_sSearch, CSettings::seDonkey::MagnetSearch, CEDPacket::New(), NULL, Settings, CPacket::Write(), CPacket::WriteByte(), CEDPacket::WriteEDString(), WriteHashesToEDPacket(), CPacket::WriteLongLE(), and CPacket::WriteShortLE().

Referenced by CManagedSearch::ExecuteDonkeyMesh(), and CManagedSearch::ExecuteNeighbours().

CG1Packet * CQuerySearch::ToG1Packet  ) 
 

Definition at line 137 of file QuerySearch.cpp.

References G1_PACKET_QUERY, G1_QF_BIN_HASH, G1_QF_DYNAMIC, G1_QF_FIREWALLED, G1_QF_TAG, G1_QF_XML, CXMLElement::GetFirstElement(), CSchema::GetIndexedWords(), CSettings::Gnutella1, CED2K::HashToString(), CTigerNode::HashToString(), CSHA::HashToString(), CNetwork::IsListening(), m_bED2K, m_bSHA1, m_bTiger, m_bWantXML, m_pED2K, m_pGUID, m_pSchema, m_pSHA1, m_pTiger, m_pXML, m_sSearch, Network, CG1Packet::New(), NULL, CSettings::sGnutella1::QuerySearchUTF8, CSettings::sGnutella1::SearchTTL, Settings, CXMLElement::ToString(), CPacket::WriteByte(), CPacket::WriteShortLE(), CPacket::WriteString(), and CPacket::WriteStringUTF8().

Referenced by CManagedSearch::ExecuteNeighbours().

CG2Packet * CQuerySearch::ToG2Packet SOCKADDR_IN *  pUDP,
DWORD  nKey
 

Definition at line 202 of file QuerySearch.cpp.

References G2_PACKET_QUERY, CXMLElement::GetFirstElement(), CG2Packet::GetStringLen(), m_bBTH, m_bED2K, m_bSHA1, m_bTiger, m_bWantCOM, m_bWantDN, m_bWantPFS, m_bWantURL, m_bWantXML, m_nMaxSize, m_nMinSize, m_pBTH, m_pED2K, m_pGUID, m_pSHA1, m_pTiger, m_pXML, m_sSearch, CG2Packet::New(), NULL, SIZE_UNKNOWN, CXMLElement::ToString(), CPacket::Write(), CPacket::WriteByte(), CPacket::WriteInt64(), CPacket::WriteLongBE(), CPacket::WriteLongLE(), CG2Packet::WritePacket(), CPacket::WriteShortBE(), and CG2Packet::WriteString().

Referenced by CManagedSearch::ExecuteG2Mesh(), and CManagedSearch::ExecuteNeighbours().

BOOL CQuerySearch::WordMatch LPCTSTR  pszString,
LPCTSTR  pszFind
[static]
 

Definition at line 1021 of file QuerySearch.cpp.

References _tcsnistr().

Referenced by CUploadQueue::CanAccept(), CDownloadGroup::Link(), Match(), MatchMetadata(), and MatchMetadataShallow().

BOOL CQuerySearch::WriteHashesToEDPacket CEDPacket pPacket,
BOOL  bUDP
[protected]
 

Definition at line 438 of file QuerySearch.cpp.

References CSettings::Downloads, Downloads, ED2K_C2S_GETSOURCES, ED2K_C2SG_GETSOURCES2, ED2K_MAXFILESINPACKET, CSettings::eDonkey, CDownloads::GetIterator(), CDownloads::GetNext(), CDownloadWithSources::GetSourceCount(), CDownload::IsCompleted(), CDownload::IsTrying(), CDownloadBase::m_bED2K, CDownloadBase::m_nSize, m_pED2K, CDownloadBase::m_pED2K, CTransfers::m_pSection, CDownloadWithSearch::m_tLastED2KGlobal, CDownloadWithSearch::m_tLastED2KLocal, CDownloadWithFile::m_tReceived, CSettings::sDownloads::MinSources, CDownloadWithTiger::NeedHashset(), NULL, CSettings::seDonkey::QueryFileThrottle, Settings, CSettings::sDownloads::SourcesWanted, CSettings::sDownloads::StarveTimeout, and Transfers.

Referenced by ToEDPacket().


Member Data Documentation

BOOL CQuerySearch::m_bAndG1
 

Definition at line 71 of file QuerySearch.h.

Referenced by CQuerySearch(), CManagedSearch::ExecuteG2Mesh(), CManagedSearch::ExecuteNeighbours(), CDownloadWithSearch::PrepareSearch(), ReadG1Packet(), ReadG2Packet(), and CG1Neighbour::SendQuery().

BOOL CQuerySearch::m_bBTH
 

Definition at line 60 of file QuerySearch.h.

Referenced by CLocalSearch::AddHit(), CQueryHashTable::Check(), CheckValid(), CQuerySearch(), CLocalSearch::ExecutePartialFiles(), CG2Neighbour::OnQuery(), CSearchMonitorWnd::OnQuerySearch(), CDownloadWithSearch::PrepareSearch(), ReadG2Packet(), Serialize(), ToEDPacket(), and ToG2Packet().

BOOL CQuerySearch::m_bED2K
 

Definition at line 58 of file QuerySearch.h.

Referenced by BuildWordList(), CQueryHashTable::Check(), CheckValid(), CQuerySearch(), CManagedSearch::Execute(), CManagedSearch::ExecuteNeighbours(), CLocalSearch::ExecutePartialFiles(), Match(), CG2Neighbour::OnQuery(), CSearchMonitorWnd::OnQuerySearch(), CDownloadWithSearch::PrepareSearch(), ReadG1Packet(), ReadG2Packet(), CRelatedSearch::RunSearchForThis(), CLibraryMaps::Search(), CEDNeighbour::SendQuery(), Serialize(), ToEDPacket(), ToG1Packet(), ToG2Packet(), CShareazaURL::ToQuery(), and CSearchWnd::UpdateMessages().

BOOL CQuerySearch::m_bFirewall
 

Definition at line 76 of file QuerySearch.h.

Referenced by CQuerySearch(), and ReadG1Packet().

BOOL CQuerySearch::m_bSHA1
 

Definition at line 54 of file QuerySearch.h.

Referenced by BuildWordList(), CQueryHashTable::Check(), CheckValid(), CQuerySearch(), CManagedSearch::ExecuteG2Mesh(), CLocalSearch::ExecutePartialFiles(), Match(), CNewSearchDlg::OnInitDialog(), CG2Neighbour::OnQuery(), CSearchMonitorWnd::OnQuerySearch(), CDownloadWithSearch::PrepareSearch(), ReadG1Packet(), ReadG2Packet(), CRelatedSearch::RunSearchForThis(), CLibraryMaps::Search(), Serialize(), ToG1Packet(), ToG2Packet(), CShareazaURL::ToQuery(), and CSearchWnd::UpdateMessages().

BOOL CQuerySearch::m_bSimilarSearch
 

Definition at line 63 of file QuerySearch.h.

Referenced by CQuerySearch(), Match(), CRelatedSearch::RunSearchForSimilar(), and ToEDPacket().

BOOL CQuerySearch::m_bTiger
 

Definition at line 56 of file QuerySearch.h.

Referenced by BuildWordList(), CheckValid(), CQuerySearch(), CLocalSearch::ExecutePartialFiles(), Match(), CSearchMonitorWnd::OnQuerySearch(), CDownloadWithSearch::PrepareSearch(), ReadG1Packet(), ReadG2Packet(), CRelatedSearch::RunSearchForThis(), CLibraryMaps::Search(), Serialize(), ToG1Packet(), and ToG2Packet().

BOOL CQuerySearch::m_bUDP
 

Definition at line 73 of file QuerySearch.h.

Referenced by CQuerySearch(), CG2Neighbour::OnQuery(), CDatagrams::OnQuery(), and ReadG2Packet().

BOOL CQuerySearch::m_bWantCOM
 

Definition at line 69 of file QuerySearch.h.

Referenced by CLocalSearch::AddHitG2(), CQuerySearch(), CDownloadWithSearch::PrepareSearch(), ReadG1Packet(), ReadG2Packet(), Serialize(), and ToG2Packet().

BOOL CQuerySearch::m_bWantDN
 

Definition at line 67 of file QuerySearch.h.

Referenced by CLocalSearch::AddHit(), CLocalSearch::AddHitG2(), CQuerySearch(), CDownloadWithSearch::PrepareSearch(), ReadG2Packet(), CEDNeighbour::SendQuery(), Serialize(), ToEDPacket(), and ToG2Packet().

BOOL CQuerySearch::m_bWantPFS
 

Definition at line 70 of file QuerySearch.h.

Referenced by CQuerySearch(), CLocalSearch::Execute(), CDownloadWithSearch::PrepareSearch(), ReadG1Packet(), ReadG2Packet(), Serialize(), and ToG2Packet().

BOOL CQuerySearch::m_bWantURL
 

Definition at line 66 of file QuerySearch.h.

Referenced by CLocalSearch::AddHit(), CLocalSearch::AddHitG2(), CQuerySearch(), CDownloadWithSearch::PrepareSearch(), ReadG2Packet(), Serialize(), and ToG2Packet().

BOOL CQuerySearch::m_bWantXML
 

Definition at line 68 of file QuerySearch.h.

Referenced by CLocalSearch::AddHitG1(), CLocalSearch::AddHitG2(), CQuerySearch(), CDownloadWithSearch::PrepareSearch(), ReadG1Packet(), ReadG2Packet(), Serialize(), ToG1Packet(), and ToG2Packet().

DWORD CQuerySearch::m_nKey
 

Definition at line 75 of file QuerySearch.h.

Referenced by CQuerySearch(), CDatagrams::OnQuery(), and ReadG2Packet().

QWORD CQuerySearch::m_nMaxSize
 

Definition at line 52 of file QuerySearch.h.

Referenced by CQuerySearch(), CSearchPanel::GetSearch(), Match(), CDownloadWithSearch::PrepareSearch(), ReadG2Packet(), CSearchPanel::ShowSearch(), ToEDPacket(), and ToG2Packet().

QWORD CQuerySearch::m_nMinSize
 

Definition at line 51 of file QuerySearch.h.

Referenced by CQuerySearch(), CSearchPanel::GetSearch(), CDownloadWithSearch::PrepareSearch(), ReadG2Packet(), CSearchPanel::ShowSearch(), ToEDPacket(), and ToG2Packet().

DWORD CQuerySearch::m_nWords
 

Definition at line 78 of file QuerySearch.h.

Referenced by AddStringToWordList(), BuildWordList(), CQueryHashTable::Check(), CheckValid(), and CQuerySearch().

SHA1 CQuerySearch::m_pBTH
 

Definition at line 61 of file QuerySearch.h.

Referenced by CQueryHashTable::Check(), CQuerySearch(), CLocalSearch::ExecutePartialFiles(), CSearchMonitorWnd::OnQuerySearch(), CDownloadWithSearch::PrepareSearch(), ReadG2Packet(), Serialize(), and ToG2Packet().

MD4 CQuerySearch::m_pED2K
 

Definition at line 59 of file QuerySearch.h.

Referenced by BuildWordList(), CQueryHashTable::Check(), CQuerySearch(), CLocalSearch::ExecutePartialFiles(), Match(), CSearchMonitorWnd::OnQuerySearch(), CDownloadWithSearch::PrepareSearch(), ReadG1Packet(), ReadG2Packet(), CRelatedSearch::RunSearchForThis(), CLibraryMaps::Search(), Serialize(), ToEDPacket(), ToG1Packet(), ToG2Packet(), CShareazaURL::ToQuery(), CSearchWnd::UpdateMessages(), and WriteHashesToEDPacket().

SOCKADDR_IN CQuerySearch::m_pEndpoint
 

Definition at line 74 of file QuerySearch.h.

Referenced by CQuerySearch(), CG2Neighbour::OnQuery(), CDatagrams::OnQuery(), and ReadG2Packet().

GGUID CQuerySearch::m_pGUID
 

Definition at line 46 of file QuerySearch.h.

Referenced by CQuerySearch(), CLocalSearch::Execute(), CManagedSearch::ExecuteNeighbours(), CSearchManager::Find(), CManagedSearch::IsLastED2KSearch(), CG2Neighbour::OnQuery(), CDatagrams::OnQuery(), CSearchWnd::OnQueryHits(), CSearchWnd::OnSearchSearch(), ReadG1Packet(), ReadG2Packet(), CEDNeighbour::SendQuery(), Serialize(), ToG1Packet(), and ToG2Packet().

CSchema* CQuerySearch::m_pSchema
 

Definition at line 49 of file QuerySearch.h.

Referenced by CMatchList::AddHits(), BuildWordList(), CheckValid(), CQuerySearch(), CSearchPadWnd::GetSearch(), CSearchPanel::GetSearch(), MatchMetadata(), CSearchWnd::OnCreate(), CSearchWnd::OnDestroy(), CNewSearchDlg::OnInitDialog(), CNewSearchDlg::OnOK(), CHomeSearchCtrl::OnSearchCreate(), CSearchWnd::OnSearchSearch(), CRemote::PageNewSearch(), ReadG1Packet(), ReadG2Packet(), CRelatedSearch::RunSearchForAlbum(), CRelatedSearch::RunSearchForArtist(), CRelatedSearch::RunSearchForSeries(), Serialize(), CSearchPanel::ShowSearch(), ToEDPacket(), ToG1Packet(), and CSearchWnd::UpdateMessages().

SHA1 CQuerySearch::m_pSHA1
 

Definition at line 55 of file QuerySearch.h.

Referenced by BuildWordList(), CQueryHashTable::Check(), CQuerySearch(), CLocalSearch::ExecutePartialFiles(), Match(), CNewSearchDlg::OnInitDialog(), CSearchMonitorWnd::OnQuerySearch(), CDownloadWithSearch::PrepareSearch(), ReadG1Packet(), ReadG2Packet(), CRelatedSearch::RunSearchForThis(), CLibraryMaps::Search(), Serialize(), ToG1Packet(), ToG2Packet(), CShareazaURL::ToQuery(), and CSearchWnd::UpdateMessages().

MD4 CQuerySearch::m_pSimilarED2K
 

Definition at line 64 of file QuerySearch.h.

Referenced by CRelatedSearch::RunSearchForSimilar(), and ToEDPacket().

TIGEROOT CQuerySearch::m_pTiger
 

Definition at line 57 of file QuerySearch.h.

Referenced by BuildWordList(), CQuerySearch(), CLocalSearch::ExecutePartialFiles(), Match(), CSearchMonitorWnd::OnQuerySearch(), CDownloadWithSearch::PrepareSearch(), ReadG1Packet(), ReadG2Packet(), CRelatedSearch::RunSearchForThis(), CLibraryMaps::Search(), Serialize(), ToG1Packet(), and ToG2Packet().

DWORD* CQuerySearch::m_pWordLen
 

Definition at line 80 of file QuerySearch.h.

Referenced by AddStringToWordList(), CQueryHashTable::Check(), CheckValid(), CQuerySearch(), and ~CQuerySearch().

LPCTSTR* CQuerySearch::m_pWordPtr
 

Definition at line 79 of file QuerySearch.h.

Referenced by AddStringToWordList(), CQueryHashTable::Check(), CheckValid(), CQuerySearch(), and ~CQuerySearch().

CXMLElement* CQuerySearch::m_pXML
 

Definition at line 50 of file QuerySearch.h.

Referenced by BuildWordList(), CQuerySearch(), CSearchPadWnd::GetSearch(), CSearchPanel::GetSearch(), MatchMetadata(), CNewSearchDlg::OnInitDialog(), CNewSearchDlg::OnOK(), CSearchMonitorWnd::OnQuerySearch(), ReadG1Packet(), ReadG2Packet(), CRelatedSearch::RunSearchForAlbum(), CRelatedSearch::RunSearchForArtist(), CRelatedSearch::RunSearchForSeries(), Serialize(), CSearchPanel::ShowSearch(), ToEDPacket(), ToG1Packet(), ToG2Packet(), CSearchWnd::UpdateMessages(), and ~CQuerySearch().

CString CQuerySearch::m_sSearch
 

Definition at line 48 of file QuerySearch.h.

Referenced by BuildWordList(), CQuerySearch(), CManagedSearch::ExecuteNeighbours(), CSearchWnd::ExecuteSearch(), CSearchPadWnd::GetSearch(), CSearchPanel::GetSearch(), Match(), MatchMetadataShallow(), CBaseMatchWnd::OnHitMonitorSearch(), CNewSearchDlg::OnInitDialog(), CLibraryFrame::OnLibrarySearchQuick(), CNewSearchDlg::OnOK(), CSearchMonitorWnd::OnQuerySearch(), CHomeSearchCtrl::OnSearchCreate(), CSearchMonitorWnd::OnSearchMonitorSearch(), CRemote::PageNewSearch(), CDownloadWithSearch::PrepareSearch(), ReadG1Packet(), ReadG2Packet(), CRelatedSearch::RunSearchForSimilar(), Serialize(), CSearchPanel::ShowSearch(), ToEDPacket(), ToG1Packet(), ToG2Packet(), CShareazaURL::ToQuery(), and CSearchWnd::UpdateMessages().


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