DescriptionPacket Class Reference

#include <descriptionpacket.h>

Inheritance diagram for DescriptionPacket:

CriticalPacket

Public Member Functions

  DescriptionPacket (void)
  ~DescriptionPacket (void)
bool  Create (string _filename, u64 _filesize)
void  Hash16k (const MD5Hash &hash)
void  HashFull (const MD5Hash &hash)
void  ComputeFileId (void)
const MD5Hash FileId (void) const
u64  FileSize (void) const
bool  Load (DiskFile *diskfile, u64 offset, PACKET_HEADER &header)
string  FileName (void) const
const MD5Hash HashFull (void) const
const MD5Hash Hash16k (void) const

Detailed Description

Definition at line 26 of file descriptionpacket.h.


Constructor & Destructor Documentation

DescriptionPacket::DescriptionPacket ( void   )  [inline]

Definition at line 30 of file descriptionpacket.h.

DescriptionPacket::~DescriptionPacket ( void   )  [inline]

Definition at line 31 of file descriptionpacket.h.


Member Function Documentation

bool DescriptionPacket::Create ( string  _filename,
u64  _filesize  
)

void DescriptionPacket::Hash16k ( const MD5Hash hash  ) 

void DescriptionPacket::HashFull ( const MD5Hash hash  ) 

void DescriptionPacket::ComputeFileId ( void   ) 

const MD5Hash & DescriptionPacket::FileId ( void   )  const [inline]

Definition at line 61 of file descriptionpacket.h.

u64 DescriptionPacket::FileSize ( void   )  const [inline]

Definition at line 69 of file descriptionpacket.h.

bool DescriptionPacket::Load ( DiskFile diskfile,
u64  offset,
PACKET_HEADER header  
)

string DescriptionPacket::FileName ( void   )  const [inline]

Definition at line 81 of file descriptionpacket.h.

const MD5Hash & DescriptionPacket::HashFull ( void   )  const [inline]

Definition at line 90 of file descriptionpacket.h.

const MD5Hash & DescriptionPacket::Hash16k ( void   )  const [inline]

Definition at line 98 of file descriptionpacket.h.


The documentation for this class was generated from the following file:
Generated on Tue Oct 14 01:40:44 2008 for NNTPGrab by  1.5.4