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

CMatchListView Class Reference

#include <MatchListView.h>

Inheritance diagram for CMatchListView:

CComObject List of all members.

Public Member Functions

 CMatchListView (LPCTSTR pszName, CMatchList *pList)
virtual ~CMatchListView ()
POSITION GetIterator () const
int GetCount () const
void GetNext (POSITION &pos, CMatchFile **ppFile, CQueryHit **ppHit) const
void GetNext (POSITION &pos, VARIANT *pVar) const

Static Public Member Functions

static IGenericViewAttach (LPCTSTR pszName, CMatchList *pList)

Protected Attributes

CString m_sName
CMatchListm_pList
CPtrList m_pSelection
STDMETHOD( get_Name )(BSTR FAR *psName)
STDMETHOD( get_Unknown )(IUnknown FAR *FAR *ppUnknown)
STDMETHOD( get_Param )(LONG FAR *pnParam)
STDMETHOD( get_Count )(LONG FAR *pnCount)
STDMETHOD( get_Item )(VARIANT vIndex, VARIANT FAR *pvItem)
STDMETHOD( get__NewEnum )(IUnknown FAR *FAR *ppEnum)
STDMETHOD( Next )(THIS_ DWORD celt, VARIANT FAR *rgvar, DWORD FAR *pceltFetched)
STDMETHOD( Skip )(THIS_ DWORD celt)
STDMETHOD( Reset )(THIS)
STDMETHOD( Clone )(THIS_ IEnumVARIANT FAR *FAR *ppenum)
POSITION m_pos

Constructor & Destructor Documentation

CMatchListView::CMatchListView LPCTSTR  pszName,
CMatchList pList
 

Definition at line 47 of file MatchListView.cpp.

Referenced by Attach().

CMatchListView::~CMatchListView  )  [virtual]
 

Definition at line 66 of file MatchListView.cpp.

References m_pList, and CMatchList::m_pSection.


Member Function Documentation

IGenericView * CMatchListView::Attach LPCTSTR  pszName,
CMatchList pList
[static]
 

Definition at line 74 of file MatchListView.cpp.

References CMatchListView(), and CComObject::GetInterface().

Referenced by CBaseMatchWnd::GetGenericView().

int CMatchListView::GetCount  )  const
 

Definition at line 85 of file MatchListView.cpp.

References m_pSelection.

POSITION CMatchListView::GetIterator  )  const
 

Definition at line 80 of file MatchListView.cpp.

References m_pSelection.

void CMatchListView::GetNext POSITION &  pos,
VARIANT *  pVar
const
 

Definition at line 119 of file MatchListView.cpp.

References GetNext(), CED2K::HashToString(), CTigerNode::HashToString(), CSHA::HashToString(), CQueryHit::m_bED2K, CMatchFile::m_bED2K, CQueryHit::m_bSHA1, CMatchFile::m_bSHA1, CQueryHit::m_bTiger, CMatchFile::m_bTiger, CQueryHit::m_pED2K, CMatchFile::m_pED2K, CQueryHit::m_pSHA1, CMatchFile::m_pSHA1, CQueryHit::m_pTiger, CMatchFile::m_pTiger, NULL, and pTiger.

void CMatchListView::GetNext POSITION &  pos,
CMatchFile **  ppFile,
CQueryHit **  ppHit
const
 

Definition at line 90 of file MatchListView.cpp.

References m_pList, CMatchList::m_pSelectedFiles, CMatchList::m_pSelectedHits, m_pSelection, and NULL.

Referenced by GetNext().


Member Data Documentation

STDMETHOD( CMatchListView::Clone)(THIS_ IEnumVARIANT FAR *FAR *ppenum) [protected]
 

STDMETHOD( CMatchListView::get__NewEnum)(IUnknown FAR *FAR *ppEnum) [protected]
 

STDMETHOD( CMatchListView::get_Count)(LONG FAR *pnCount) [protected]
 

STDMETHOD( CMatchListView::get_Item)(VARIANT vIndex, VARIANT FAR *pvItem) [protected]
 

STDMETHOD( CMatchListView::get_Name)(BSTR FAR *psName) [protected]
 

STDMETHOD( CMatchListView::get_Param)(LONG FAR *pnParam) [protected]
 

STDMETHOD( CMatchListView::get_Unknown)(IUnknown FAR *FAR *ppUnknown) [protected]
 

CMatchList* CMatchListView::m_pList [protected]
 

Definition at line 42 of file MatchListView.h.

Referenced by GetNext(), and ~CMatchListView().

POSITION CMatchListView::m_pos [protected]
 

Definition at line 71 of file MatchListView.h.

CPtrList CMatchListView::m_pSelection [protected]
 

Definition at line 43 of file MatchListView.h.

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

CString CMatchListView::m_sName [protected]
 

Definition at line 41 of file MatchListView.h.

STDMETHOD( CMatchListView::Next)(THIS_ DWORD celt, VARIANT FAR *rgvar, DWORD FAR *pceltFetched) [protected]
 

STDMETHOD( CMatchListView::Reset)(THIS) [protected]
 

STDMETHOD( CMatchListView::Skip)(THIS_ DWORD celt) [protected]
 


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