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

CUploadFiles Class Reference

#include <UploadFiles.h>

List of all members.

Public Member Functions

 CUploadFiles ()
virtual ~CUploadFiles ()
void Clear ()
CUploadFileGetFile (CUploadTransfer *pUpload, SHA1 *pSHA1, LPCTSTR pszName, LPCTSTR pszPath, QWORD nSize)
void Remove (CUploadTransfer *pTransfer)
void MoveToHead (CUploadTransfer *pTransfer)
void MoveToTail (CUploadTransfer *pTransfer)
POSITION GetIterator () const
CUploadFileGetNext (POSITION &pos) const
int GetCount () const
BOOL Check (CUploadFile *pFile) const

Protected Attributes

CPtrList m_pList


Constructor & Destructor Documentation

CUploadFiles::CUploadFiles  ) 
 

Definition at line 40 of file UploadFiles.cpp.

CUploadFiles::~CUploadFiles  )  [virtual]
 

Definition at line 44 of file UploadFiles.cpp.

References Clear().


Member Function Documentation

BOOL CUploadFiles::Check CUploadFile pFile  )  const [inline]
 

Definition at line 67 of file UploadFiles.h.

References m_pList, and NULL.

Referenced by CUploadsWnd::OnBrowseLaunch(), CUploadTipCtrl::OnCalcSize(), CUploadTipCtrl::OnPaint(), CUploadsWnd::OnSecurityBan(), CUploadTipCtrl::OnTimer(), CUploadsWnd::OnUploadsClear(), CUploadsWnd::OnUploadsDisconnect(), and CUploadsWnd::OnUploadsLaunch().

void CUploadFiles::Clear  ) 
 

Definition at line 52 of file UploadFiles.cpp.

References GetCount(), GetIterator(), and GetNext().

Referenced by ~CUploadFiles().

int CUploadFiles::GetCount  )  const [inline]
 

Definition at line 62 of file UploadFiles.h.

References m_pList.

Referenced by Clear().

CUploadFile * CUploadFiles::GetFile CUploadTransfer pUpload,
SHA1 pSHA1,
LPCTSTR  pszName,
LPCTSTR  pszPath,
QWORD  nSize
 

Definition at line 65 of file UploadFiles.cpp.

References CUploadFile::Add(), GetIterator(), GetNext(), CUploadFile::m_pAddress, CConnection::m_pHost, m_pList, and CUploadFile::m_sPath.

Referenced by CUploadTransfer::AllocateBaseFile().

POSITION CUploadFiles::GetIterator  )  const [inline]
 

Definition at line 52 of file UploadFiles.h.

References m_pList.

Referenced by Clear(), CUploadsCtrl::DeselectAll(), GetFile(), CUploadsCtrl::GetFileIterator(), MoveToHead(), MoveToTail(), CUploadsWnd::OnBrowseLaunch(), CUploadsWnd::OnSecurityBan(), CUploadsWnd::OnUploadsChat(), CUploadsWnd::OnUploadsClear(), CUploadsWnd::OnUploadsDisconnect(), CUploadsWnd::OnUploadsLaunch(), CUploadsWnd::OnUploadsStart(), CUploadsWnd::Prepare(), and Remove().

CUploadFile* CUploadFiles::GetNext POSITION &  pos  )  const [inline]
 

Definition at line 57 of file UploadFiles.h.

References m_pList.

Referenced by Clear(), CUploadsCtrl::DeselectAll(), GetFile(), CUploadsCtrl::GetFileIterator(), CUploadsCtrl::GetNextFile(), MoveToHead(), MoveToTail(), CUploadsWnd::OnBrowseLaunch(), CUploadsWnd::OnSecurityBan(), CUploadsWnd::OnUploadsChat(), CUploadsWnd::OnUploadsClear(), CUploadsWnd::OnUploadsDisconnect(), CUploadsWnd::OnUploadsLaunch(), CUploadsWnd::OnUploadsStart(), CUploadsWnd::Prepare(), and Remove().

void CUploadFiles::MoveToHead CUploadTransfer pTransfer  ) 
 

Definition at line 108 of file UploadFiles.cpp.

References CUploadFile::GetActive(), GetIterator(), GetNext(), and m_pList.

Referenced by CUploadTransferBT::SetChoke().

void CUploadFiles::MoveToTail CUploadTransfer pTransfer  ) 
 

Definition at line 124 of file UploadFiles.cpp.

References CUploadFile::GetActive(), GetIterator(), GetNext(), and m_pList.

Referenced by CUploadTransferBT::SetChoke().

void CUploadFiles::Remove CUploadTransfer pTransfer  ) 
 

Definition at line 90 of file UploadFiles.cpp.

References GetIterator(), GetNext(), m_pList, and CUploadFile::Remove().

Referenced by CUploadTransfer::~CUploadTransfer().


Member Data Documentation

CPtrList CUploadFiles::m_pList [protected]
 

Definition at line 40 of file UploadFiles.h.

Referenced by Check(), GetCount(), GetFile(), GetIterator(), GetNext(), MoveToHead(), MoveToTail(), and Remove().


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