CMatchList Class Reference

#include <MatchObjects.h>

Collaboration diagram for CMatchList:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 CMatchList ()
virtual ~CMatchList ()
void AddHits (CQueryHit *pHits, CQuerySearch *pFilter=NULL, BOOL bRequire=FALSE)
DWORD FileToItem (CMatchFile *pFile)
void Clear ()
BOOL Select (CMatchFile *pFile, CQueryHit *pHit, BOOL bSelected=TRUE)
CMatchFileGetSelectedFile (BOOL bFromHit=FALSE) const
CQueryHitGetSelectedHit () const
INT_PTR GetSelectedCount () const
BOOL ClearSelection ()
void Filter ()
void SelectSchema (CSchema *pSchema, CList< CSchemaMember * > *pColumns)
void SetSortColumn (int nColumn=-1, BOOL bDirection=FALSE)
void UpdateRange (DWORD nMin=0, DWORD nMax=0xFFFFFFFF)
void ClearUpdated ()
void ClearNew ()
void Serialize (CArchive &ar)

Public Attributes

CMutex m_pSection
CString m_sFilter
BOOL m_bFilterBusy
BOOL m_bFilterPush
BOOL m_bFilterUnstable
BOOL m_bFilterReject
BOOL m_bFilterLocal
BOOL m_bFilterBogus
BOOL m_bFilterDRM
BOOL m_bFilterAdult
BOOL m_bFilterSuspicious
QWORD m_nFilterMinSize
QWORD m_nFilterMaxSize
DWORD m_nFilterSources
int m_nSortColumn
BOOL m_bSortDir
CSchemam_pSchema
BOOL m_bNew
CResultFiltersm_pResultFilters
CMatchFile ** m_pFiles
DWORD m_nFiles
DWORD m_nItems
DWORD m_nFilteredFiles
DWORD m_nFilteredHits
DWORD m_nGnutellaHits
DWORD m_nED2KHits
BOOL m_bUpdated
DWORD m_nUpdateMin
DWORD m_nUpdateMax
CList< CMatchFile * > m_pSelectedFiles
CList< CQueryHit * > m_pSelectedHits

Protected Types

enum  findType {
  fSHA1 = 0, fTiger = 1, fED2K = 2, fSize = 3,
  fBTH = 4, fMD5 = 5
}

Protected Member Functions

CMatchFileFindFileAndAddHit (CQueryHit *pHit, findType nFindFlag, FILESTATS FAR *Stats)
void InsertSorted (CMatchFile *pFile)
BOOL FilterHit (CQueryHit *pHit)

Protected Attributes

DWORD m_nBuffer
CMatchFile ** m_pSizeMap
CMatchFile ** m_pMapSHA1
CMatchFile ** m_pMapTiger
CMatchFile ** m_pMapED2K
CMatchFile ** m_pMapBTH
CMatchFile ** m_pMapMD5
LPTSTR m_pszFilter
CSchemaMember ** m_pColumns
int m_nColumns

Friends

class CMatchFile

Member Enumeration Documentation

enum CMatchList::findType [protected]

Enumerator:
fSHA1 
fTiger 
fED2K 
fSize 
fBTH 
fMD5 


Constructor & Destructor Documentation

CMatchList::CMatchList (  ) 

CMatchList::~CMatchList (  )  [virtual]


Member Function Documentation

void CMatchList::AddHits ( CQueryHit pHits,
CQuerySearch pFilter = NULL,
BOOL  bRequire = FALSE 
)

DWORD CMatchList::FileToItem ( CMatchFile pFile  ) 

void CMatchList::Clear (  ) 

BOOL CMatchList::Select ( CMatchFile pFile,
CQueryHit pHit,
BOOL  bSelected = TRUE 
)

CMatchFile * CMatchList::GetSelectedFile ( BOOL  bFromHit = FALSE  )  const

CQueryHit * CMatchList::GetSelectedHit (  )  const

INT_PTR CMatchList::GetSelectedCount (  )  const

BOOL CMatchList::ClearSelection (  ) 

void CMatchList::Filter (  ) 

void CMatchList::SelectSchema ( CSchema pSchema,
CList< CSchemaMember * > *  pColumns 
)

void CMatchList::SetSortColumn ( int  nColumn = -1,
BOOL  bDirection = FALSE 
)

void CMatchList::UpdateRange ( DWORD  nMin = 0,
DWORD  nMax = 0xFFFFFFFF 
)

void CMatchList::ClearUpdated (  ) 

void CMatchList::ClearNew (  ) 

void CMatchList::Serialize ( CArchive &  ar  ) 

CMatchFile * CMatchList::FindFileAndAddHit ( CQueryHit pHit,
findType  nFindFlag,
FILESTATS FAR *  Stats 
) [protected]

void CMatchList::InsertSorted ( CMatchFile pFile  )  [protected]

BOOL CMatchList::FilterHit ( CQueryHit pHit  )  [protected]


Friends And Related Function Documentation

friend class CMatchFile [friend]


Member Data Documentation

CMutex CMatchList::m_pSection

CString CMatchList::m_sFilter

BOOL CMatchList::m_bFilterBusy

BOOL CMatchList::m_bFilterPush

BOOL CMatchList::m_bFilterUnstable

BOOL CMatchList::m_bFilterReject

BOOL CMatchList::m_bFilterLocal

BOOL CMatchList::m_bFilterBogus

BOOL CMatchList::m_bFilterDRM

BOOL CMatchList::m_bFilterAdult

BOOL CMatchList::m_bFilterSuspicious

QWORD CMatchList::m_nFilterMinSize

QWORD CMatchList::m_nFilterMaxSize

DWORD CMatchList::m_nFilterSources

int CMatchList::m_nSortColumn

BOOL CMatchList::m_bSortDir

CSchema* CMatchList::m_pSchema

BOOL CMatchList::m_bNew

CResultFilters* CMatchList::m_pResultFilters

CMatchFile** CMatchList::m_pFiles

DWORD CMatchList::m_nFiles

DWORD CMatchList::m_nItems

DWORD CMatchList::m_nFilteredFiles

DWORD CMatchList::m_nFilteredHits

DWORD CMatchList::m_nGnutellaHits

DWORD CMatchList::m_nED2KHits

BOOL CMatchList::m_bUpdated

DWORD CMatchList::m_nUpdateMin

DWORD CMatchList::m_nUpdateMax

CList< CMatchFile* > CMatchList::m_pSelectedFiles

CList< CQueryHit* > CMatchList::m_pSelectedHits

DWORD CMatchList::m_nBuffer [protected]

CMatchFile** CMatchList::m_pSizeMap [protected]

CMatchFile** CMatchList::m_pMapSHA1 [protected]

CMatchFile** CMatchList::m_pMapTiger [protected]

CMatchFile** CMatchList::m_pMapED2K [protected]

CMatchFile** CMatchList::m_pMapBTH [protected]

CMatchFile** CMatchList::m_pMapMD5 [protected]

LPTSTR CMatchList::m_pszFilter [protected]

CSchemaMember** CMatchList::m_pColumns [protected]

int CMatchList::m_nColumns [protected]


The documentation for this class was generated from the following files:
Generated on Wed Aug 8 03:46:29 2007 for Shareaza by  doxygen 1.5.2