#include <downloadDb.h>
Public Member Functions | |
Db (void) | |
void | write (ostream &out) const |
int | get_num_multifiles (void) const |
string | get_multifile_name (int index) const |
bool | multifile_exists (string mfname) const |
PT (MultifileRecord) get_multifile_record_named(string mfname) const | |
void | add_multifile_record (PT(MultifileRecord) mfr) |
int | parse_header (uchar *start, int size) |
int | parse_record_header (uchar *start, int size) |
PT (MultifileRecord) parse_mfr(uchar *start | |
PT (FileRecord) parse_fr(uchar *start | |
bool | read (istream &read_stream, bool want_server_info) |
bool | write (ofstream &write_stream, bool want_server_info) |
bool | write_header (ofstream &write_stream) |
bool | write_bogus_header (ofstream &write_stream) |
Public Attributes | |
int | size |
Filename | _filename |
MultifileRecords | _mfile_records |
Private Attributes | |
PN_int32 | _header_length |
Datagram | _datagram |
|
Definition at line 574 of file downloadDb.cxx. References _header_length. |
|
Definition at line 656 of file downloadDb.cxx. References _mfile_records. Referenced by DownloadDb::add_client_multifile(), read(), and DownloadDb::server_add_multifile(). |
|
Definition at line 610 of file downloadDb.cxx. References _mfile_records, and index. |
|
Definition at line 600 of file downloadDb.cxx. References _mfile_records. Referenced by write_bogus_header(), and write_header(). |
|
Definition at line 620 of file downloadDb.cxx. References _mfile_records. Referenced by DownloadDb::client_multifile_exists(). |
|
Definition at line 668 of file downloadDb.cxx. References _datagram, Datagram::append_data(), Datagram::clear(), DatagramIterator::get_int32(), DatagramIterator::get_uint32(), PN_int32, PN_uint32, and start. Referenced by read(). |
|
Definition at line 712 of file downloadDb.cxx. References _datagram, Datagram::append_data(), Datagram::clear(), DatagramIterator::get_int32(), PN_int32, and start. Referenced by read(). |
|
|
|
|
|
Referenced by read(). |
|
Definition at line 810 of file downloadDb.cxx. References _header_length, add_multifile_record(), parse_header(), parse_record_header(), PT(), and uchar. Referenced by DownloadDb::read_db(). |
|
Definition at line 909 of file downloadDb.cxx. References _datagram, _mfile_records, Datagram::add_float64(), Datagram::add_int32(), Datagram::add_uint32(), Datagram::append_data(), Datagram::clear(), Datagram::get_message(), HashVal::get_value(), PN_float64, PN_int32, and size. |
|
Definition at line 586 of file downloadDb.cxx. References _mfile_records. Referenced by DownloadDb::write(), and DownloadDb::write_db(). |
|
Definition at line 1010 of file downloadDb.cxx. References _datagram, Datagram::add_int32(), Datagram::add_uint32(), Datagram::clear(), Datagram::get_message(), and get_num_multifiles(). Referenced by DownloadDb::write_db(). |
|
Definition at line 1031 of file downloadDb.cxx. References _datagram, Datagram::add_int32(), Datagram::add_uint32(), Datagram::clear(), Datagram::get_message(), and get_num_multifiles(). Referenced by DownloadDb::write_db(). |
|
Definition at line 195 of file downloadDb.h. Referenced by parse_header(), parse_record_header(), write(), write_bogus_header(), and write_header(). |
|
Definition at line 187 of file downloadDb.h. Referenced by DownloadDb::DownloadDb(), DownloadDb::output(), DownloadDb::set_client_multifile_hash(), and DownloadDb::write(). |
|
Definition at line 192 of file downloadDb.h. |
|
Definition at line 188 of file downloadDb.h. Referenced by add_multifile_record(), get_multifile_name(), get_num_multifiles(), multifile_exists(), DownloadDb::server_add_file(), and write(). |
|
Definition at line 184 of file downloadDb.h. Referenced by write(). |