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

CTigerNode Class Reference

#include <TigerTree.h>

List of all members.

Public Member Functions

 CTigerNode ()
CString ToString ()

Static Public Member Functions

static CString HashToString (const TIGEROOT *pTiger, BOOL bURN=FALSE)
static BOOL HashFromString (LPCTSTR pszHash, TIGEROOT *pTiger)
static BOOL HashFromURN (LPCTSTR pszHash, TIGEROOT *pTiger)
static BOOL IsNull (TIGEROOT *pTiger)

Public Attributes

BYTE bValid
WORD64 value [3]
WORD64 v1
WORD64 v2
WORD64 v3


Constructor & Destructor Documentation

CTigerNode::CTigerNode  )  [inline]
 

Definition at line 104 of file TigerTree.h.

References bValid, v1, v2, and v3.


Member Function Documentation

BOOL CTigerNode::HashFromString LPCTSTR  pszHash,
TIGEROOT pTiger
[static]
 

Definition at line 632 of file TigerTree.cpp.

Referenced by CDownloadEditDlg::Commit(), HashFromURN(), and CUpgradeDlg::OnOK().

BOOL CTigerNode::HashFromURN LPCTSTR  pszHash,
TIGEROOT pTiger
[static]
 

Definition at line 667 of file TigerTree.cpp.

References HashFromString(), and NULL.

Referenced by CQuerySearch::BuildWordList(), CDownloads::FindByURN(), CCollectionFile::FindByURN(), CUploadTransfer::HashesFromURN(), CLibraryMaps::LookupFileByURN(), CNewSearchDlg::OnChangeSearch(), CDownloadTransferHTTP::OnHeaderLine(), CCollectionFile::File::Parse(), CShareazaURL::ParseMagnet(), CShareazaURL::ParseShareazaFile(), CQuerySearch::ReadG1Packet(), and CQueryHit::ReadG1Packet().

CString CTigerNode::HashToString const TIGEROOT pTiger,
BOOL  bURN = FALSE
[static]
 

Definition at line 583 of file TigerTree.cpp.

References TIGER_SIZE.

Referenced by CLocalSearch::AddHitG1(), CExistingFileDlg::CExistingFileDlg(), CCollectionExportDlg::CreateXML(), CTigerTree::Dump(), CDownloadBase::GenerateLocalName(), CMatchListView::GetNext(), CMatchFile::GetURN(), IsNull(), CMatchTipCtrl::LoadFromFile(), CMatchTipCtrl::LoadFromHit(), CURLExportDlg::OnCopy(), CURLCopyDlg::OnIncludeSelf(), CFileGeneralPage::OnInitDialog(), CDownloadEditDlg::OnInitDialog(), CLibraryTipCtrl::OnPrepare(), CSearchMonitorWnd::OnQuerySearch(), CURLExportDlg::OnSave(), CDownloadTipCtrl::PrepareFileInfo(), CUploadTransferHTTP::RequestPreview(), CQueryHit::Resolve(), CUploadTransferHTTP::SendFileHeaders(), CFileExecutor::ShowBitziTicket(), CQuerySearch::ToG1Packet(), ToString(), CURLActionDlg::Update(), and CFilePropertiesDlg::Update().

BOOL CTigerNode::IsNull TIGEROOT pTiger  )  [static]
 

Definition at line 701 of file TigerTree.cpp.

References HashToString().

Referenced by CQueryHit::ReadG1Packet(), CQueryHit::ReadG2Packet(), and CDownloadBase::Serialize().

CString CTigerNode::ToString  ) 
 

Definition at line 578 of file TigerTree.cpp.

References HashToString(), and value.

Referenced by CTigerTree::RootToString().


Member Data Documentation

BYTE CTigerNode::bValid
 

Definition at line 123 of file TigerTree.h.

Referenced by CTigerTree::BlocksToNode(), CTigerTree::CheckIntegrity(), CTigerNode(), CTigerTree::FinishFile(), CTigerTree::FromBytes(), CTigerTree::Serialize(), and CTigerTree::ToBytes().

WORD64 CTigerNode::v1
 

Definition at line 117 of file TigerTree.h.

Referenced by CTigerTree::BlocksToNode(), CTigerNode(), and CTigerTree::FinishBlockTest().

WORD64 CTigerNode::v2
 

Definition at line 118 of file TigerTree.h.

Referenced by CTigerTree::BlocksToNode(), CTigerNode(), and CTigerTree::FinishBlockTest().

WORD64 CTigerNode::v3
 

Definition at line 119 of file TigerTree.h.

Referenced by CTigerTree::BlocksToNode(), CTigerNode(), and CTigerTree::FinishBlockTest().

WORD64 CTigerNode::value[3]
 

Definition at line 114 of file TigerTree.h.

Referenced by CTigerTree::AddToFile(), CTigerTree::AddToTest(), CTigerTree::CheckIntegrity(), CTigerTree::Collapse(), CTigerTree::FinishFile(), CTigerTree::GetRoot(), CTigerTree::Serialize(), CTigerTree::ToBytes(), and ToString().


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