Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

DownloadDb::MultifileRecord Class Reference

#include <downloadDb.h>

Inheritance diagram for DownloadDb::MultifileRecord:

ReferenceCount List of all members.

Public Member Functions

 MultifileRecord (void)
 MultifileRecord (string name, Phase phase, int size, int status)
void write (ostream &out) const
int get_num_files (void) const
string get_file_name (int index) const
bool file_exists (string fname) const
 PT (FileRecord) get_file_record_named(string fname) const
void add_file_record (PT(FileRecord) fr)

Public Attributes

string _name
Phase _phase
int _size
int _status
HashVal _hash
PN_int32 _num_files
FileRecords _file_records

Constructor & Destructor Documentation

DownloadDb::MultifileRecord::MultifileRecord void   ) 
 

Definition at line 442 of file downloadDb.cxx.

References _name, _phase, _size, and _status.

DownloadDb::MultifileRecord::MultifileRecord string  name,
Phase  phase,
int  size,
int  status
 

Definition at line 456 of file downloadDb.cxx.

References _name, _phase, _size, and _status.


Member Function Documentation

void DownloadDb::MultifileRecord::add_file_record PT(FileRecord fr  ) 
 

Definition at line 555 of file downloadDb.cxx.

References _file_records.

bool DownloadDb::MultifileRecord::file_exists string  fname  )  const
 

Definition at line 517 of file downloadDb.cxx.

References _file_records.

string DownloadDb::MultifileRecord::get_file_name int  index  )  const
 

Definition at line 506 of file downloadDb.cxx.

References _file_records, and index.

int DownloadDb::MultifileRecord::get_num_files void   )  const
 

Definition at line 496 of file downloadDb.cxx.

References _file_records.

DownloadDb::MultifileRecord::PT FileRecord   )  const
 

void DownloadDb::MultifileRecord::write ostream &  out  )  const
 

Definition at line 470 of file downloadDb.cxx.

References _file_records, _hash, _name, _phase, _size, _status, and HashVal::get_value().


Member Data Documentation

FileRecords DownloadDb::MultifileRecord::_file_records
 

Definition at line 167 of file downloadDb.h.

Referenced by add_file_record(), file_exists(), get_file_name(), get_num_files(), and write().

HashVal DownloadDb::MultifileRecord::_hash
 

Definition at line 165 of file downloadDb.h.

Referenced by write().

string DownloadDb::MultifileRecord::_name
 

Definition at line 161 of file downloadDb.h.

Referenced by MultifileRecord(), and write().

PN_int32 DownloadDb::MultifileRecord::_num_files
 

Definition at line 166 of file downloadDb.h.

Phase DownloadDb::MultifileRecord::_phase
 

Definition at line 162 of file downloadDb.h.

Referenced by MultifileRecord(), and write().

int DownloadDb::MultifileRecord::_size
 

Definition at line 163 of file downloadDb.h.

Referenced by MultifileRecord(), and write().

int DownloadDb::MultifileRecord::_status
 

Definition at line 164 of file downloadDb.h.

Referenced by MultifileRecord(), and write().


The documentation for this class was generated from the following files:
Generated on Fri Apr 18 00:11:55 2003 for Panda by doxygen1.3