#include <partfile.hpp>
◆ PartFile() [1/4]
PartFile::PartFile |
( |
const std::string & | group_id, |
|
|
std::shared_ptr< FileInfo > | file_info, |
|
|
const std::string & | file_path, |
|
|
bool | all_downloaded ) |
|
explicit |
◆ PartFile() [2/4]
◆ PartFile() [3/4]
PartFile::PartFile |
( |
const PartFile & | src | ) |
|
|
default |
◆ PartFile() [4/4]
◆ has_piece()
bool PartFile::has_piece |
( |
const std::string & | piece | ) |
const |
◆ is_complete()
bool PartFile::is_complete |
( |
| ) |
const |
◆ mark_downloaded()
bool PartFile::mark_downloaded |
( |
const std::string & | piece | ) |
|
◆ operator=()
◆ operator==
◆ downloaded_pieces
std::unordered_set<std::string> PartFile::downloaded_pieces |
◆ file_info
const std::shared_ptr<FileInfo> PartFile::file_info |
◆ file_path
const std::string PartFile::file_path |
◆ group_id
const std::string PartFile::group_id |
◆ PieceCount
const size_t PartFile::PieceCount |
◆ remaining_pieces
std::unordered_set<std::string> PartFile::remaining_pieces |
The documentation for this class was generated from the following files: